Custom order of child pages | Community
Skip to main content
Level 3
October 16, 2015
Solved

Custom order of child pages

  • October 16, 2015
  • 2 replies
  • 1394 views

Hi,

I'm dynamically generating a navigation component by retrieving all child pages of a parent page. The component takes the parents path as an input. I have a requirement where the user wants to be able to change the order that the navigation links(tabs) appear. Each tab in the navigation corresponds to each childPage

Any suggestions on how to implement this use case, keeping the navigation component driven by path?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

As Kalyan mentioned this can be easily achieved by reorganizing the pages in the siteadmin. However, you can also control the display/UI by storing all the childpages in a collection and using that collection in your display logic

2 replies

Adobe Employee
October 16, 2015

Why not reorder pages in the siteadmin?

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

As Kalyan mentioned this can be easily achieved by reorganizing the pages in the siteadmin. However, you can also control the display/UI by storing all the childpages in a collection and using that collection in your display logic