Page List Block

Permalink 1 user found helpful
With the page-list block, is there a way to display pages "beneath this page" and have it display the children pages of those pages etc.

The only way I've found to do it is to show everything... which kind of sucks.

Oh and it needs to be the page-list block because i need the title and description and its working with another block.

bryanlewis
 
RadiantWeb replied on at Permalink Reply
RadiantWeb
what you can do is set sub-section pages to one page type, and all content pages withing those sub sections to another page type, and then in the page list block, only show pages of one page type.

C
fastcrash replied on at Permalink Reply
fastcrash
but if you set 'blog_type', then select 'beneath another page' and select level1 menu(right_type), there is no content shown.
because it will be pointer to level2 menu(blog_type), not level3 menu(left_type) and there is no 'blog_type' in level2 menu, so the result will be empty.
fastcrash replied on at Permalink Reply
fastcrash
yeah. i have the same problem here. the only option is select 'everywhere', so we cannot group news by header menu(level1).
but when we select 'Beneat another page', this will be shown submenu(level2), but what we want is to show level3 menu.

another option i try is use 'easynews_list' for page list, and set list on level2 menu to 'exclude from page list'.

is there a way to add to atribut 'exclude from easynews_list' ?
MainostoimistoExx replied on at Permalink Reply
One more person needs this! :)
bschwartz replied on at Permalink Reply
I'm having the same problem. I have pages of a store setup logically, with multiple category parent pages all under the "Store" page. I'd like to set up one Page list that for Store, which lists every Parent page, and their sub-pages.
jordanlev replied on at Permalink Best Answer Reply
jordanlev
I submitted a patch for this functionality and it is now in Concrete5.5. If you want to put it in an older version of C5, edit this file:
SITEROOT/concrete/blocks/page_list/controller.php

Find this line:
$pl->filterByParentID($cParentID);

...and change it to this:
$pl->filterByPath(Page::getByID($cParentID)->getCollectionPath());


Note that if you do this change, it's going to apply to all of your page list blocks on the site -- if you want to have this be an option from one block to the next, you'll need to re-implement the 5.5. changes in your own system (or upgrade to 5.5 -- although be careful with this because it makes a lot of major changes to the dashboard design which most people love but some people hate, and also a lot of addons in the marketplace are not yet compatible with 5.5).