I have been spending the last 2 days trying to get the subtemplating to work with K2, there are some articles that are either incorrect or just simply misleading. However I have finally got it working after delving into the code to see what is going on.
After some time I came to understand the k2 elements folder and the xml files that reside there. Looking at the category.xml file i noticed that the theme parameter was of type category, and there was no k2 element of the same name only moduletemplate which after looking at the code looked exactly the element that would do the trick.
After some fiddling the theme field has now become a text field, where I can manually enter my customised theme name, which works perfectly. I realise that the code should be a dropdown list, as this is what the moduletemplate element works, but there seems to be caching involved or some other magic that is causing the textbox to appear instead.
Maybe someone can have a proper look at this and resolve it before it becomes a real issue with newbies.
After some time I came to understand the k2 elements folder and the xml files that reside there. Looking at the category.xml file i noticed that the theme parameter was of type category, and there was no k2 element of the same name only moduletemplate which after looking at the code looked exactly the element that would do the trick.
After some fiddling the theme field has now become a text field, where I can manually enter my customised theme name, which works perfectly. I realise that the code should be a dropdown list, as this is what the moduletemplate element works, but there seems to be caching involved or some other magic that is causing the textbox to appear instead.
Maybe someone can have a proper look at this and resolve it before it becomes a real issue with newbies.