SEF Link to Subcategory does not work (JRoute?)
Posted: 15 Feb 2015, 17:13
Hello. I've got the following setup:
Menulink to Category View - say category's name is "Download"
It contains a subcategory, say "test".
Creation of the link in /components/com_phocadownload/views/category/tmpl/default.php:79
JRoute-output:
This does not work, since:
which doesn't work either.
However omitting the ":test" results in an accessible link:
So the same goes for
Why doesn't it work as expected?
Menulink to Category View - say category's name is "Download"
It contains a subcategory, say "test".
Creation of the link in /components/com_phocadownload/views/category/tmpl/default.php:79
JRoute-output:
Code: Select all
/download/category/666-test
If I remove the JRoute-wrapper, I'll get:#1054 Unknown column '666test' in 'where clause' SQL=SELECT parent_id FROM jos_categories WHERE id=666test
Code: Select all
index.php?option=com_phocadownload&view=category&id=666:test
However omitting the ":test" results in an accessible link:
Code: Select all
index.php?option=com_phocadownload&view=category&id=666
Code: Select all
/download/category/666