The {noparent} macro lists all [USERGUIDE:Orphan Pages] within a space, i.e. pages without a parent...
In most cases, pages will be attached to a parent page to create a manageable site hierarchy. However, there may be cases where you need to create a page without a parent (eg. to hide it from the [USERGUIDE:Site Map]) in which case this macro can be used to list such pages.
Add the macro to your page as follows:
{noparent}
The macro will list all pages that do not have a parent within the current space, excluding the space home page.
This software is free for both commercial and non-commerical use.
This macro is compatible with Confluence 1.4.x and 1.5.x. It has been tested by Adaptavist with Confluence 1.4.1, 1.4.3 and 1.4.4. It has been tested by David Peterson with Confluence 1.5-DR2.
This macro is usually pre-installed with Builder accounts. If you wish to install it on your own Confluence install, please download it from the Confluence Extensions Page.
Adaptavist maintain a JIRA Project for tracking bug reports and feature requests for this macro. The currently reported items are shown below:
jiraissues: Could not download[ http://jira.adaptavist.com/secure/IssueNavigator.jspa?view=rss&pid=10037&component=10081&statusIds=1&statusIds=3&statusIds=4&statusIds=5&sorter/field=updated&sorter/order=DESC&tempMax=25&reset=true&decorator=none] : caused by : Circular redirect to 'http://jira.adaptavist.com:80/secure/IssueNavigator.jspa'
List the pages without a parent ([USERGUIDE:Orphan Pages]):
{noparent}
The result is shown below:
Unknown macro: {noparent}
Note:
If there are no Orphan Pages other than the home page, nothing will be shown.
Hints and Tips
This macro is very handy for finding "lost" pages. Pages can become unexpectedly orphaned if you move thier parent page to another space, but don't transfer the children at the same time. All those child pages will become Orphans and the {noparent} macro is a good way to find them.
Orphan pages can also be created, unexpectedly, when using the alias macro.
Frequently Asked Questions
Q
Can I display [USERGUIDE:Orphan Pages] from another Space?
A
Yes. Use the children macro or simply use the {noparent} macro on a page within the desired Space.