Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hello Forum!
I was not able to find this topic here, so I hope anyone can point out to it if it is there or suggest a solution...
I am built local search for my site, and I used
<cms:search_form />
which I was able to style so far, after looking HTML output...

But I want to change the value of the button so to have it in other languages than english. Default is english "search".
How can I do that?


Thanks in advance!!

Tanja
Hi Tanja,

As mentioned in the docs (http://www.couchcms.com/docs/concepts/using-search.html),
there two ways of creating the search form -
1. Use the <cms:search_form /> (as you are doing)
2. Create your own form (as you'd like to do in this case)

The only thing to keep in mind while using a custom form is to name the text input 's'.

An easy way of using a custom-form would be to modify the form generated by cms:search_form itself.
To do so, please do a view-source of your page to take a look at the form generated by <cms:search_form />. Copy the code and change the values as you desire. Then paste in the modified code verbatim in place of <cms:search_form />.

Hope this helps.
Thanks KK!

That helps a lot!!!!!!!

best regards

Tanja
You are always welcome :)
4 posts Page 1 of 1