Spica Posted February 21, 2018 Share Posted February 21, 2018 I use an inputfield Page Reference for managing categories, that are generated from a page tree like so: cat 1 subcat 1 subcat 2 cat 2 subcat 3 subcat 4 etc I now would like to select the maincategory in a page first. And then based on the selection the subcategories should be offered. Cant find an easy and flexible way for that. Any suggestions? Link to comment Share on other sites More sharing options...
ottogal Posted February 21, 2018 Share Posted February 21, 2018 Maybe you can find some useful hint in this thread: Page reference field selection based on another field 1 Link to comment Share on other sites More sharing options...
Spica Posted February 22, 2018 Author Share Posted February 22, 2018 Thanks, ottogal, had a view on the thread. But not exactly what I want. It would be possible to reference different fields, but all manually. If the category taxonomy would increase the new relations would not be refected. I now think about modifying the display of the input page reference. I think it is done in processPageList.js. But I dont see, how to modify only the one occurance of the page reference field. Maybe musst digg deeper into it. But would be happy for any easier solution. Link to comment Share on other sites More sharing options...
kongondo Posted February 22, 2018 Share Posted February 22, 2018 3 hours ago, Spica said: But would be happy for any easier solution. Ahem (put disclosure here ).... https://modules.processwire.com/modules/process-dynamic-selects/ 1 Link to comment Share on other sites More sharing options...
Spica Posted February 22, 2018 Author Share Posted February 22, 2018 Ah, great, kongondo, that realy makes me happy. Link to comment Share on other sites More sharing options...
kongondo Posted February 22, 2018 Share Posted February 22, 2018 54 minutes ago, Spica said: Ah, great, kongondo, that realy makes me happy. If you have any questions, please post them in the support page, thanks. 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