From Childpages To Listpages

Background

The official doc says that the module ChildPages has been deprecated. For obvious reasons: the control over the output with module ChildPages was rather limited while ListPages is really powerful.
However, the absolute beginner will have to write more code to achieve the same result…

ChildPages

with ChildPages

[[module ChildPages]]

… gives child pages ordered by title:

with ListPages, minimal code

[[module ListPages parent="."]]
* %%title_linked%%
[[/module]]

… unfortunately gives child pages ordered by default: "created_at desc" and with some space between lines:

with ListPages, ordered by title ascending:

[[module ListPages parent="." separate="no" order="title"]]
* %%title_linked%%
[[/module]]

… eventually gives child pages ordered by title and with no space between lines:

Backlinks

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