showing children on parent page?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Sendlingur
Forum Members
Forum Members
Posts: 60
Joined: Wed Aug 08, 2018 4:59 pm

showing children on parent page?

Post by Sendlingur »

I'm wondering..... is there a way to display all child pages of parent page on the parent page?
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7759
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: showing children on parent page?

Post by Rolf »

Code: Select all

{Navigator childrenof=$page_alias}
Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
Sendlingur
Forum Members
Forum Members
Posts: 60
Joined: Wed Aug 08, 2018 4:59 pm

Re: showing children on parent page?

Post by Sendlingur »

if I do "{Navigator childrenof=$page_alias}" it generates the whole menu. But I only want to see the children of one specific page.
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7759
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: showing children on parent page?

Post by Rolf »

Code: Select all

{Navigator childrenof='alias-of-one-specific-page'}
Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
Post Reply

Return to “CMSMS Core”