benbrv
June 29, 2015, 8:17am
1
Hi. As I would like a certain subpage page be the source of my query, I’d like to know if a variable can be passed in the query “page” of a select field like this :
item:
label: My Items
type: select
options: query
query:
page: the-variable-page
fetch: visibleChildren
value: '{{uid}}'
text: '{{title}}'
http://getkirby.com/docs/cheatsheet/panel-fields/select
No, you can’t pass a variable. You can pass a relative path, but only upwards in the tree, not downwards.
benbrv
June 29, 2015, 9:03am
3
okay that’s too bad — would love to know if this could be extended easily ?
thank you.
benbrv
June 29, 2015, 2:47pm
5
Thanks — will try a similar edit on the file.
Thanks again, Got this working with your hint