Listing Un-Parented pages

Posted by Helmut_pdorf on 04 Sep 2015 07:49, last edited by Helmut_pdorf on 04 Sep 2015 07:51

Tags: howto listpages parent un-parented

rating: +1+x

In the community forum there were the questions how to find pages "with no parenting".. (example: http://community.wikidot.com/forum/t-1346602/finding-up-parented-pages )

Solution

The solution is a page with ListPages module selecting such pages without a parent and listing them:
using the

  • Parent page selector: "-" means pages with no parent page

that means an attribute parent="-" is enough to show all pages of category="*" ( all) without a parent

[[module ListPages separate="no" limit="999"  parent="-" category="*"]]
%%title_linked%% - [[user %%created_by%%]] - %%created_at%%
[[/module]]

see also the documentation: https://www.wikidot.com/doc-modules:listpages-module

Example

Here the example with the category "howto":

[[module ListPages separate="no" limit="999"  parent="-" category="howto"]]
%%title_linked%% - [[user %%created_by%%]] - %%created_at%%
[[/module]]

Author

Helmut_pdorfHelmut_pdorf. Please visit his/her userPage.


Related articles

Comments

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.