Keyword

copied default category template, gets messed up

More
10 years 6 months ago #126328 by Mick
Hi,

Today i was trying to put the K2 Extra Fields into table format instead of the original UL formating they have.
I backed up components/com_2k/templates/default and edited category_item.php - made the changes - but nothing happened on the site. After several tries, clearing the cache etc, still with no results, i decided to copy /default contents into a new folder template2 ( into components/com_2k/templates/ ) - I switched the template in the category settings in the backend and refreshed the page - it was messed up. For example the DIV itemToolbar did not contain itemRatingBlock, but the ItemRatingBlock was a separate from that div. There were more minor things messed up, like the title font size.
I dont understand, if i copy the exact same files from /default to /template2 - how come the template2 looks different?

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


Powered by Kunena Forum