Howto implent the new Route in my component
Posted: Fri Mar 09, 2007 11:32 am
Hello
(yes i have read http://forum.joomla.org/index.php/topic ... .html )
Ok lets start to say what I know:
- put a file named router.php in your folder
- put 2 functions in it: ComponentBuildRoute and ComponentParseRoute
Then my knowledge stops
Ok the name I use in my classes for my component is JMS (JMSBuildRoute & JMSParseRoute)
I use links like:
- http://127.0.0.1/index.php?option=com_j ... &Itemid=51
- http://127.0.0.1/index.php?option=com_j ... =component
- http://127.0.0.1/index.php?option=com_j ... &Itemid=51
No where in my links I use &task=. Tasks are all done trough forms.
This is a part of form with the hidden values.
Ok. Now how can I change this all to integrate with the new Itemid way?
Do I have to change the links? the forms? what code should be in the router.php
I hope I have provided enough info, if not please ask for more
Thanks in advance and I hope I its not that hard as I think it is
(yes i have read http://forum.joomla.org/index.php/topic ... .html )
Ok lets start to say what I know:
- put a file named router.php in your folder
- put 2 functions in it: ComponentBuildRoute and ComponentParseRoute
Then my knowledge stops
Ok the name I use in my classes for my component is JMS (JMSBuildRoute & JMSParseRoute)
I use links like:
- http://127.0.0.1/index.php?option=com_j ... &Itemid=51
- http://127.0.0.1/index.php?option=com_j ... =component
- http://127.0.0.1/index.php?option=com_j ... &Itemid=51
No where in my links I use &task=. Tasks are all done trough forms.
This is a part of form with the hidden values.
Ok. Now how can I change this all to integrate with the new Itemid way?
Do I have to change the links? the forms? what code should be in the router.php
I hope I have provided enough info, if not please ask for more
Thanks in advance and I hope I its not that hard as I think it is