Jump to content

rootparent selector


OllieMackJames
 Share

Recommended Posts

I have different toplevelpages with children below each page.

On the toplevel page I want to ahve a paginated call to the underlying pages

I would like to get something like this:

$results = $pages->find("parent=rootParent, template=blogpost-iframe, limit=$limit");

But apparently parent=rootParent is not a proper selector

So on any give top level page I want to find all children below that parent page.

I can do this with $page->children but then pagination will not work and that is what I need as well.

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...