Jump to content

Page Reference Field: Defining Selectable Pages


kalimati
 Share

Recommended Posts

Hi,

For a Page Reference Field I would like to use filter something like this:

parent=$pages->findOne("template=mag-issue, sort=-created")

But I am not able to get it to work using the various options available to define selectable pages. Any idea where I could be going wrong or how to approach it.

Thanks.

Link to comment
Share on other sites

Setting up the template selection to mag-issue and setting the field to single display under Details tab, and  the template setting under Selectable Pages under Input tab. What exactly is not working well? Watch out for hidden pages too!

Link to comment
Share on other sites

The site is structured this way:

mag-issue1
- article1
- article2
- article3
...
mag-issue2
- article1
- article2
- article3
...
mag-issue3
- article1
- article2
- article3
...
...

The idea is to select the children of the latest mag-issue as the selectable pages for the page reference field.

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...