Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi,

i'm doing a little website for friend and problem is that i wanna show all subcategories from specific clonable page (not all), for example parent page is ID = 10, and i wanna show only his children (screenshot_1).

Blog (id = 10) is for example parent, and test blog, test blog 2, are children.

I tried with nested page but it's not working, can you give me some hint & tip maybe?

Code: Select all
<cms:nested_pages masterpage='page.php' id='10' extended_info='1'>
   <cms:show k_nestedpage_title /><br />
</cms:nested_pages>


And i tried with this one:

Code: Select all
   <cms:pages masterpage='page.php' id='10'>
      <cms:show k_page_title />
   </cms:pages>


Does Couch maybe have some loop function to go through specific ID and showing all his children, something like that? :)

Thank you in advance :)

Attachments

Nested pages support two params that can be used to show only a subset of the tree - 'root' and 'childof'
https://docs.couchcms.com/tags-referenc ... pages.html
https://docs.couchcms.com/tags-reference/menu.html (please particularly see the 'Dynamic Menu' section that also equally applies to <cms:nested_pages>

Hope this helps.
KK wrote: Nested pages support two params that can be used to show only a subset of the tree - 'root' and 'childof'
https://docs.couchcms.com/tags-referenc ... pages.html
https://docs.couchcms.com/tags-reference/menu.html (please particularly see the 'Dynamic Menu' section that also equally applies to <cms:nested_pages>

Hope this helps.


Tnx, this will help!
3 posts Page 1 of 1
cron