-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By SwimToWin
I want to add a dependent SELECT field on my template page that lists pages from a parent "sub-page" in the current parent node.
On /product1/page I have the field "photo" which is a SELECT field.
I want the SELECT to list pages from /ROOTPARENT/photos.
The idea is that I can reuse the same photo in many places - but only need to keep it update it once under /product1/photos.
My page structure looks like so:
/product1/page /product1/photos/photo3 (template=photos) /product2/photos/photo9 I have tried adding these Selector Strings on the Field (Setup -> Fields -> PHOTO -> Input tab -> Selectable Pages field group -> Selector String):
parent=/product1/page, template=photos, sort=name WORKS (but only on children of current product). parent=page.rootParent ... parent=$page.rootParent ... parent=$page.rootParent parent=$parent ... parent=$parent1 When using a SELECT Input Field Type, the editing pages gives the fatal error "Unrecognized operator: $". parent=parent ... parent=. Returns an empty list How might I find child pages from the current "/product1/photos/ page"?
Your inputs are appreciated. Thanks.
-
By rareyush
Has anyone any experience making a dynamic hours booking calendar: person visits site and can see a calendar with available hours marked as taken and others as free person clicks number of hour and is allowed to fill a form to book the timing like: 6:17pm - 10:67-pm Any comments most appreciated,
-
By zota
Hi!
Just reading "Inputfield dependencies enable you to specify the conditions under which a particular field in the page editor is shown or required." at
https://processwire.com/api/selectors/inputfield-dependencies/
but the text talks like an ongoing work. So: we now have more on inputfield dependencies or the text is up to date?
Thanks
js
-
By DxJR
So is there anyway to get Inputfield Dependencies to work with front-end editing? the field is there, but it isn't showing the results I need based on the field selection it's dependent on.
-
By DxJR
So, I've tried looking through here and Can't seem to find it. I'm trying to create a situation in the admin where:
I have a page reference InputField. When the user chooses one of those pages, from the dropdown, a new Page reference drop down pops up with that pages children in it. I know how to do the "show only if..." thing, but How did I make it dynamically pull in a pages children? Thanks
-