Keyword

Where is class code? ...lists['categories'];...

More
12 years 4 months ago - 12 years 4 months ago #66452 by tibos
Hi,

There is a code on components/com_k2/templates/default/itemform.php 82. line.
Log in  or Create an account to join the conversation.

More
12 years 4 months ago #66453 by tibos

tibos wrote: Hi,

There is a code on components/com_k2/templates/default/itemform.php 82. line.

Log in  or Create an account to join the conversation.

More
12 years 2 months ago #66454 by Jerry
I 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...

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #66455 by Lefteris
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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #66456 by Jerry

Lefteris 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...

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #66457 by Lefteris
No. You cannot do this. You cannot override those files. You can override the layout files and there modify the variables.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.