Page_List second level ?
Permalink
Is there a way to make PAGE_LIST list pages under more then +1 level ? It seem to display only one level under but not my second levels pages.
Thank you
Thank you
Having these controller on page_list would be very nice:
I'm looking for an answer to the same question. Is this something that is easily possible?
Auto nav settings edit
"Sub-Pages to Display" = Relevant sub pages.
"Sub-Page Levels" = Display all
This will show all of the pages below your main.
but not unless your on the page that its a sub of...
Make sense?
Hope so good luck!
"Sub-Pages to Display" = Relevant sub pages.
"Sub-Page Levels" = Display all
This will show all of the pages below your main.
but not unless your on the page that its a sub of...
Make sense?
Hope so good luck!
Not in the current version of C5. I submitted a patch to the github repo that adds this functionality. If you want to patch your core system in the meantime to make it do this, you can edit concrete/blocks/page_list/controller.php, find this line:
...and replace it with this:
Note that there is no option to set the number of sublevels -- this will search all children pages of the selected page.
$pl->filterByParentID($cParentID);
...and replace it with this:
$pl->filterByPath(Page::getByID($cParentID)->getCollectionPath());
Note that there is no option to set the number of sublevels -- this will search all children pages of the selected page.