sort page trees by date?

Page trees in Confluence seem to be sorted alphabetically by default; it's also possible to create a custom order.

Is there anyway to specify that page lists should be sorted by creation date or by modification date. Or better yet, provide tabs to allow the user to change the sort order?

2 answers

1 accepted

Hi Bob,

Yes you could sort Page tree macro. You could arrange the position of the page tree macro by alphabetically, time of creation, time of modification, or postion. For more information please refer to the following documentation.
* https://confluence.atlassian.com/display/DOC/Page+Tree+Macro

Hope this information helps. Cheers!

We use the documentation theme so I over rode it in the theme configuration with the WIKI markup

Pagetree supports several options:

Specify the order to display the pages in the tree. This sort order is for display purposes only. It does not permanently re-arrange the page order. The value may be one of the following:

  • bitwise — sort alphabetically, for example: title1, title10, title2.
  • creation — sort by date of creation.
  • modified — sort by order of date last modified.
  • natural — sort in 'natural' alphabetical order, for example: title1, title2, title10.
  • position — sort by the default Confluence sorting rules. If your pages have been ordered manually, this sort will respect the defined order. Otherwise the pages will be displayed in the 'natural' alphabetical order, such as: title1, title2, title10.

https://confluence.atlassian.com/display/CONF40/Page+Tree+Macro

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you