thomas Posted October 9, 2015 Share Posted October 9, 2015 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 More sharing options...
LostKobrakai Posted October 9, 2015 Share Posted October 9, 2015 I'm not sure, but try this: category=page.category Link to comment Share on other sites More sharing options...
thomas Posted October 9, 2015 Author Share Posted October 9, 2015 It works! Thanks a lot! Vielen Dank! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now