Loading...
 
Skip to main content

List all items in Category tree, grouped by subcategory

Status
Open
Subject
List all items in Category tree, grouped by subcategory
Category
  • Feature request
Feature
Category
Wiki Plugin (extends basic syntax)
Resolution status
New
Submitted by
Rick Sapir / Tiki for Smarties
Lastmod by
Pascal St-Jean
Rating
(0)
Description

See http://tiki.org/tiki-view_forum_thread.php?comments_parentId=48506&topics_offset=1 for original request/discussion...



I have a Category structure:

Top > Category XXXX (ID# 31) > Sub Category 11111 (ID #51)
Top > Category XXXX (ID #31) > Sub Category 22222 (ID #62)
etc.

There will continually be new categories added under "Category XXXX" (that is, new "Sub Category #####" items).

I want a wiki page that will list all the items in all the sub-categories under "Category XXXX".... but I want the list to be automatically updated so when I add a new sub category, I don't need to re-edit the wiki page. I want to see this:

Sub Category 11111
- item
- item
- item

Sub Category 22222
- item
- item
- item

etc.


I *thought* I could do this with the {CATEGORY} plugin:
{category id="31" split="y" sub="y" one="y"}

This lists all the items in all the sub-categories in one long list... but I want the items grouped by sub-category (which is what I *thought* the "split" parameter was supposed to do).

I also tried adding the "showlinks=y" parameter, but again I got only a single list...

Importance
8
Easy to solve?
5
Priority
40
Demonstrate Bug on Tiki 19+
This bug has been demonstrated on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
4628
Created
Wednesday 07 August, 2013 19:13:59 UTC
by Rick Sapir / Tiki for Smarties
LastModif
Monday 12 August, 2013 19:50:08 UTC


Collapse/expand modules below
Show PHP error messages