Keyword

Category description before Subcategories

  • TheAnt
  • TheAnt's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 7 months ago #164085 by TheAnt
Hi
in Category view is it possibile to display the category description text before/above the subcategory boxes?
Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #164096 by Krikor Boghossian
Replied by Krikor Boghossian on topic Category description before Subcategories
Yes,

You can override the category.php file and move these blocks (you can identify them from the HTML comments) to the position that you need.

More on overrides can be found here:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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

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

  • TheAnt
  • TheAnt's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 6 months ago #164240 by TheAnt
Replied by TheAnt on topic Category description before Subcategories

Krikor wrote: Yes,

You can override the category.php file and move these blocks (you can identify them from the HTML comments) to the position that you need.


Thanks a lot Krikor. Please, can you help me to do this change: I need to put the items before the subcategory blocks, but I don't understand how to edit the category.php file

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

  • TheAnt
  • TheAnt's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 6 months ago #164241 by TheAnt
Replied by TheAnt on topic Category description before Subcategories
This because I use an Item as Category description, due the Category description isn't in k2 search results.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #164264 by Krikor Boghossian
Replied by Krikor Boghossian on topic Category description before Subcategories
You could load the leading items before the category's block or move the entire subcategories block direcly under the leading items.

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

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


Powered by Kunena Forum