Hi,
There is a code on components/com_k2/templates/default/itemform.php 82. line.
There is a code on components/com_k2/templates/default/itemform.php 82. line.
Topic Author
14 years 5 months ago #66453
tibos wrote:Hi,
There is a code on components/com_k2/templates/default/itemform.php 82. line.
14 years 4 months ago #66454I have to say I am a bit annoyed as well on it being so hard to find class definitions, etc. I can understand K2 have to follow the joomla structure, which is very confusing to say the least...
14 years 4 months ago #66455Hi. You need to take a look at the corresponding view.html.php file. Modifying this files however, is not a good idea. You need to make a template override and make the modifications there.
14 years 4 months ago #66456Lefteris Kavadas wrote:Hi. You need to take a look at the corresponding view.html.php file. Modifying this files however, is not a good idea. You need to make a template override and make the modifications there.
So copying view.html.php to /templates/MYTEMPLATE/html/com_k2/SUBTEMPLATE/view.html.php is enough? That file is not in the templates folder...
14 years 4 months ago #66457No. You cannot do this. You cannot override those files. You can override the layout files and there modify the variables.
Log in or create an account to reply.