Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » How to get all nested subpages?

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 924 Views
  • pga
    Avatar
    Community Member
    8 Posts

    How to get all nested subpages? Link to this post

    Hi,

    I have the following site structure:

    Home
    |- branch1 [PageHolder]
    | |- page1.1 [Page]
    | |- page1.2 [Page]
    |- branch2 [PageHolder]
    | |- branch2.1 [PageHolder]
    | | |- page2.1.1 [Page]
    | | |- page2.1.2 [Page]
    | |- branch2.2 [PageHolder]
    | | |- branch2.2.1 [PageHolder]
    | | |- page2.2.1.1 [Page]
    | | |- page2.2.1.2 [Page]
    | |- page2.3 [Page]
    | |- page2.4 [Page]

    The problem is - how to get all pages (but not page holders) for branch2
    in case to display an index on the branch2 page?

    Thank you for any help.

    924 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.