I'm using Joomla 3.1.
I'm having a strange issue with my router.php file in my component.
I have a basic router.php file, not doing much as yet, before I add my features I need to get it actually working on basic stuff first.
I have a menu item with the component set as the item type. Viewing the homepage shows the view I created.
For the links, if I use the following:
echo JRoute::_('index.php?option=com_vacations&view=test&cat=123');
I get this:
http://mysite/en/component/vacations/?view=test&cat=123
I do not want the "component/vacations" shown however. So I've tried this:
echo JRoute::_('index.php?view=test&cat=123');
And I get:
http://mysite/en/?view=test&cat=123
Seemingly correct, however the second method never touches my router.php. This means I cannot alter it to display something like:
http://mysite/en/test/123
How can I fix it so that the url is parsed through router.php?
http://mysite/en/?view=test&cat=123
) show the desired component's view? – MasterAMhttp://mysite/en/menualias/
will generate the links correctly when viewed. – hyarion