Keyword

K2 Category List

  • Phili Gran
  • Phili Gran's Avatar Topic Author
  • Offline
  • New Member
More
12 years 6 months ago #63388 by Phili Gran
K2 Category List was created by Phili Gran
Hi, I'm new to K2, and I find the list of categories great!
I've already programmed the issue that expand subcategories until you click on the main category.
However, I have a BIG wish - I wish that I could create a category list for a specific category.

e.g.:
products
- Equipment
- Toys
- Other things

and the result should be:
equipment
Toys
other things

It will not show "products".
I almost want to say the module: "Create a list of catefories for products"

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

  • Phili Gran
  • Phili Gran's Avatar Topic Author
  • Offline
  • New Member
More
12 years 6 months ago #63389 by Phili Gran
Replied by Phili Gran on topic Re: K2 Category List
in helper.php there is:

$root_id = (int) $params->get('root_id');

i want to change this value via module.

So there is e.g. $root_id = 114; und it makes a list of categories of all categories, that have parent = 114.
This works - but I don't know how to change this via module.
Maybe this is a simple extension in the module - but this would be so great.

please help me soon.
ive been trying this for so long now and am confused.

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


Powered by Kunena Forum