Doubts about the tutorial of using a file uploader in your component

23 views
Skip to first unread message

Juan Diego

unread,
Aug 29, 2012, 6:06:22 PM8/29/12
to joomla-de...@googlegroups.com
I was following this tutorial http://docs.joomla.org/Creating_a_file_uploader_in_your_component

And i have question regarding part 5.   That code belongs where in a controler right?

In part 3 they have these lines

"option" : "com_asistentes",
"controller" : "evento",
"task" : "upload",
 "id" : "'.$item->id.'",
"'.$session->getName().'" : "'.$session->getId().'",
"format" : "raw"

so my component is called com_asistentes and it is part of view called evento, so i created a controller called
 "evento" in the controller folder. It has a function called "
upload". But it is not calling that function.
Is the code on part 5 supposed to be on the controller on that function?
What am I missing?

Thanks

Juan Diego
Reply all
Reply to author
Forward
0 new messages