Hi Folks
I'm new to Joomla and even newer to K2. That said, I've looked for an answer to this on this site and Googled extensively, but cannot find the solution.
I am familiar with creating custom parameters in Menus in Joomla! 2.5 and have done so many times. For example, I can achieve my own category parameters by placing the params in /templates/mytemplate/html/com_content/category/mycategory.xml, and the matching mycategory.php is in the same directory.
How will I achieve a similar thing in K2? I have come to understand that the overriding mechanism is different in K2. I have my own custom category view in /templates/mytemplate/html/com_k2/mycategory/category.php. Now I need the Menu item that points to this category to have an additional setting parameter to be passed to this view.
So copying category.xml into this directory from /components/views/itemlist/tmpl doesn't appear in the settings list, and I've tried copying it to /templates/mytemplate/html/com_k2/itemlist along with the blank category.php, and again this doesn't work.
Am I missing something ovbious?
Thanks in advance
Mik
I'm new to Joomla and even newer to K2. That said, I've looked for an answer to this on this site and Googled extensively, but cannot find the solution.
I am familiar with creating custom parameters in Menus in Joomla! 2.5 and have done so many times. For example, I can achieve my own category parameters by placing the params in /templates/mytemplate/html/com_content/category/mycategory.xml, and the matching mycategory.php is in the same directory.
How will I achieve a similar thing in K2? I have come to understand that the overriding mechanism is different in K2. I have my own custom category view in /templates/mytemplate/html/com_k2/mycategory/category.php. Now I need the Menu item that points to this category to have an additional setting parameter to be passed to this view.
So copying category.xml into this directory from /components/views/itemlist/tmpl doesn't appear in the settings list, and I've tried copying it to /templates/mytemplate/html/com_k2/itemlist along with the blank category.php, and again this doesn't work.
Am I missing something ovbious?
Thanks in advance
Mik