Keyword

show items in category tree in k2

  • mace farel
  • mace farel's Avatar Topic Author
  • Offline
  • New Member
More
11 years 6 months ago - 11 years 6 months ago #113110 by mace farel
show items in category tree in k2 was created by mace farel
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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 6 months ago #113111 by Krikor Boghossian
Replied by Krikor Boghossian on 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.

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

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

  • mace farel
  • mace farel's Avatar Topic Author
  • Offline
  • New Member
More
11 years 6 months ago #113112 by mace farel
Replied by mace farel on 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
11 years 6 months ago #113113 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on 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
11 years 6 months ago #113114 by mace farel
Replied by mace farel on 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
11 years 6 months ago #113115 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on 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
10 years 8 months ago #113116 by Nicoletta
Replied by Nicoletta on 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
10 years 8 months ago #113117 by Lefteris
Replied by Lefteris on 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.

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

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

More
10 years 8 months ago #113118 by Nicoletta
Replied by Nicoletta on 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.


Powered by Kunena Forum