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
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]]
it's possible to add sitemap to my sites? - Editor_Online - 17 Jun 2019 19:33
Using variables as the conditions for (in)visible content - James Kanjo - 07 Dec 2014 02:57
Using Wikidot's Search - tsangk - 14 Jul 2012 09:53
ListPages By User - RobElliott - 08 Mar 2012 14:01
Flexible CSS - putting CSS on its own page - RobElliott - 08 Mar 2012 10:27
Making a Custom Table with ListPages - Timothy Foster - 16 Sep 2011 02:08
Password Protect a Page - RobElliott - 20 Dec 2010 20:21
Historical timeline/it happened on this day - Brunhilda - 28 May 2010 19:03
Design Top-Bar Menu with CSS - stacita - 05 Mar 2010 20:20
Show a list of pages and the tags attached to them - Steven Heynderickx - 12 Dec 2009 11:14
Ping Wikidot - scottplan - 09 Dec 2009 01:12
Autonumber headings and paragraphs - gerdami - 28 Nov 2009 15:07
Embed Addthis - Ed Johnson - 09 Nov 2009 01:10
Chart with ListPages - gerdami - 28 Sep 2009 20:56
find a forgotten password - orag - 03 Aug 2009 21:26
CSS Resources - stacita - 02 Aug 2009 16:08
Table Attributes - stacita - 02 Aug 2009 15:12
Make a Compact Horizontal Account Options Menu - cold_blood3d - 08 May 2009 22:23
System Variables - ErichSteinboeck - 21 Mar 2009 12:08
Insert Pictures In A Page - Helmut_pdorf - 15 Mar 2008 13:34
Author
Helmut_pdorf. Please visit his/her userPage.