Hi, I have a some resources that I need displayed on the front end in a particular way but I can't (am not allowed to) rearrange the resource tree structure. This is an example tree:
Category 1
- Sub Category 1
-- Set 1
--- Product 1
--- Product 2
--- Product 3
-- Set 2
--- Product 4
--- Product 5
--- Product 6
-Sub Category 2
-- Set 3
--- Product 7
--- Product 8
--- Product 9
I need to display this on the front-end as:
Category 1
- Sub Category 1
-- Product 1
-- Product 2
-- Product 3
-- Product 4
-- Product 5
-- Product 6
- Sub Category 2
-- Product 7
-- Product 8
-- Product 9
Basically ignoring the Sets parent, again I can't simply remove them in the admin. Thoughts?
Can you select the 'Hide From Menus' checkbox for the 'Set 1', 'Set 2' and 'Set 3' resources in those pages Documents tabs?
-
☆ A M B ☆
- 24,524 Posts
You could also try adding rel="category" to the link attributes field of the resources you don't want to show, then use the &categoryFoldersTpl property with just [[+wf.wrapper]] in the chunk. That should just output its child rows.