Jump to content

Page Field "Custom selector" problem


thomas
 Share

Recommended Posts

Hello,

I want to use two page fields, the first one to choose the selectable pages of another pages field.

When the first Page Field (category) is selected, the second one appears (using category != "" which works fine).

Now the second Page Field is supposed to show only the pages with the category (a field in the second selections template) selected in the first field. I used this as a custom selector:

parent=/products/,category=category,sort=title

Now this does not work. Am I doing something wrong or is this not supposed to work? Are there any ways to achieve this? (parent /products/ has a view thousand children so I need some sort of pre-selection)

Thanks,

thomas

*Edit*: custom PHP code return $pages->find("parent=/produkte/,category=$page->category"); works, but the page needs to be saved first and it's not really dynamic ... I was hoping for a better solution ...

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