Hi Guys,
Currently I’m struggling with retrieving the document node path to the page where the search form (Flowpack.SimpleSearch.ContentRepositoryAdaptor:Search) is used. I want to use this as the action URL for a site wide search form.
I tried different variations of:
foo = ${q(site).find(’[instanceof Flowpack.SimpleSearch.ContentRepositoryAdaptor:Search]’).parent(’[instanceof Neos.Neos:Document]’).get()}
bar = ${String.toString(foo)}
I don’t get it. Any suggestions?
Thanks in advance!