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

This widget could not be displayed.

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!

This widget could not be displayed.

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

601 views 8 6
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