Keyword

show items in category tree in k2

  • mace farel
  • mace farel's Avatar Topic Author
  • Offline
  • New Member
More
6 years 5 months ago - 6 years 5 months ago #113110 by mace farel
mace farel created the topic: show items in category tree in k2
hi there..

its posibble to get view like this (with module or component) in k2?

parent category 1
----child category 1.1
item 1.1.1
item 1.1.2
item 1.1.3
----child category 1.2
item 1.2.1
item 1.2.2
item 1.2.3
............
............
............

parent category 2
----child category 2.1
item 2.1.1
item 2.1.2
item 2.1.3
----child category 2.2
item 2.2.1
item 2.2.2
item 2.2.3
............
............
............

parent category 3
----child category 3.1
item 3.1.1
item 3.1.2
item 3.1.3
----child category 3.2
item 3.2.1
item 3.2.2
item 3.2.3
............
............
............

parent category 4
----child category 4.1
item 4.1.1
item 4.1.2
item 4.1.3
----child category 4.2
item 4.2.1
item 4.2.2
item 4.2.3
............
............
............

more detail like this image :

https://www.diigo.com/item/p/ppbpqsbzbpeseqopbzbadboadq/fca7d9bce0e84f8bf6e268b29154adc8


anyone can help? please.. you will save my live :cheer:

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

More
6 years 5 months ago #113111 by Krikor Boghossian
Krikor Boghossian replied the topic: Re: show items in category tree in k2
Hello mace,

You need to use the K2 Tools module with the category listing functionality.
This module can also be overridden to match your design.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

  • mace farel
  • mace farel's Avatar Topic Author
  • Offline
  • New Member
More
6 years 5 months ago #113112 by mace farel
mace farel replied the topic: Re: show items in category tree in k2
yes, but it just show child category name and item count and not show list of item (item title and image) on child category (just count number). how i can get list item/article on that k2 tools module?

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
6 years 5 months ago #113113 by Mohamed Abdelaziz
Mohamed Abdelaziz replied the topic: Re: show items in category tree in k2
You can modify the treerecurse function in the helper.php file to make it display items under their parent category.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

  • mace farel
  • mace farel's Avatar Topic Author
  • Offline
  • New Member
More
6 years 5 months ago #113114 by mace farel
mace farel replied the topic: Re: show items in category tree in k2

Mohamed Abdelaziz wrote: You can modify the treerecurse function in the helper.php file to make it display items under their parent category.


hi, thanks very much for your answer mohamed, im appreciate that. :) do you have an idea how to modify helper.php to show list of item or to get item title and image from child category?

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
6 years 5 months ago #113115 by Mohamed Abdelaziz
Mohamed Abdelaziz replied the topic: Re: show items in category tree in k2
Hi, please contact me via my website, the url in my profile, to discuss the details.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

More
5 years 7 months ago #113116 by Nicoletta
Nicoletta replied the topic: Re: show items in category tree in k2
I'm interested. I have to do the same thing.
Might I have the code?

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

More
5 years 7 months ago #113117 by Lefteris
Lefteris replied the topic: Re: show items in category tree in k2
@Nicoletta

Hi if you need a catalog like view K2 by default can do this : demo.getk2.org/catalog . If you need a tree view the only solution in K2 is the K2 Tools module. If you however want in your tree to display all the data of the categories then you need to look for a third-party extension that might do this or hire a developer to do this for you.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
5 years 7 months ago #113118 by Nicoletta
Nicoletta replied the topic: Re: show items in category tree in k2
Thanks for you reply.
I need a module to show the category tree and the articles in category, like that:
Category 1
----sub category 1.1
item 1.1.1
item 1.1.2
item 1.1.3
----sub category 1.2
item 1.2.1
item 1.2.2
item 1.2.3
Category 2
----sub category 2.1
item 2.1.1
item 2.1.2
item 2.1.3

In th reply above, I thought it was found the solution....
I can not find anything about it in third-party extensions...

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

Moderators: william white

Powered by Kunena Forum