Keyword

How to display two levels of sub-categories?

  • arien101
  • arien101's Avatar Topic Author
  • Offline
  • New Member
More
12 years 5 months ago #65343 by arien101
Hi there,

K2 so far has been great. I managed to do a lot of the things I wanted to do with minimal interaction with the php files. There's just one thing I have not figured out yet.

I want to display the sub-categories of the current category (that already works), but then I also want to display the sub-categories of the sub-category as text links just below.

Please see the image attachment to see what I mean. The top of the image shows what I have now. The bottom shows what I would like to do.





Any help would be highly appreciated. I can do some basic php copy & pasting, so if someone could point me to the right php code then I would know where to add it.

Thanks!

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

More
12 years 5 months ago #65344 by william white
Replied by william white on topic Re: How to display two levels of sub-categories?
Start by reading category.php
Find <!-- Subcategories -->
You will have to modify the code for <!-- Item list --> which calls category_item.php to list out the items in the current category and move it up into the subcategory display

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

More
10 years 10 months ago #65345 by Laszlo Kosa
Replied by Laszlo Kosa on topic Re: How to display two levels of sub-categories?
Hello,
Did you solved that? If yes let us know please :)
Regards, M

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


Powered by Kunena Forum