2017-07-12, 20:31:52
(This post was last modified: 2017-07-12, 20:46:51 by vanfruniken.)
Dear mvlcek,
Is there a way to generate relative urls from (% searchform %) or get_i18n_search_form ?
alternatively, is there a return-style return_search_form equivalent for the function get_i18n_search_form
alternatively, could searchform make use of a component that filters the generated action url?
I looked inside the plugin and found that the $type=full/relative parameter is not used in the find_url call (or is it geturl? I forget the details), so there is currently no hope that an undocumented feature of param would be present to solve the (ever recurring, mostly CKEditor-caused, but not in this case) absolute/relative url hardships.
[Context info: My intended config is with several DNS names pointing to the same Getsimple root dir on the base site, where I want the referring domain name to be persistent in the url line. I've cracked most situations: relative, migratable prefixes to relative urls in links and img src refs, nav with i18n (using filter component -- thanks, mvlcek), but the searchform solution should be simpler than brewing my own link.]
Sorry for asking a possibly duplicate question, but I didn't have the courage to plough through all 26 pages of this forum thread.
Thanks for any help or insights that you could provide.
Is there a way to generate relative urls from (% searchform %) or get_i18n_search_form ?
alternatively, is there a return-style return_search_form equivalent for the function get_i18n_search_form
alternatively, could searchform make use of a component that filters the generated action url?
I looked inside the plugin and found that the $type=full/relative parameter is not used in the find_url call (or is it geturl? I forget the details), so there is currently no hope that an undocumented feature of param would be present to solve the (ever recurring, mostly CKEditor-caused, but not in this case) absolute/relative url hardships.
[Context info: My intended config is with several DNS names pointing to the same Getsimple root dir on the base site, where I want the referring domain name to be persistent in the url line. I've cracked most situations: relative, migratable prefixes to relative urls in links and img src refs, nav with i18n (using filter component -- thanks, mvlcek), but the searchform solution should be simpler than brewing my own link.]
Sorry for asking a possibly duplicate question, but I didn't have the courage to plough through all 26 pages of this forum thread.
Thanks for any help or insights that you could provide.