Two search forms on a page
Posted: Fri Oct 16, 2015 8:19 pm
Hi there.
I would like to have two search forms on a page.
I found this topic (http://forum.cmsmadesimple.org/viewtopi ... +two+input) but there is only how to give a sequences (numbers) to the INPUT ID.
That is not problem, it works. I have one INPUT with ID "cntnt01searchinput_1" and another with ID "cntnt01searchinput_2".
Problem is that if I click on a submit (button1 or button2 - it doesnt matter) so search module do a search but no results are found.
If I let there basic template search, so there is ID "cntnt01searchinput" (no number) and it works. Results are found. But with different ID no.
My ask for a help is where I can set these IDs for search module? I mean shoud I edit some PHP code or just do it in smarty in search template? Because it looks like that only ID with "cntnt01searchinput" is respected and every other is refused.
Thank you for a advice/help.
I would like to have two search forms on a page.
I found this topic (http://forum.cmsmadesimple.org/viewtopi ... +two+input) but there is only how to give a sequences (numbers) to the INPUT ID.
That is not problem, it works. I have one INPUT with ID "cntnt01searchinput_1" and another with ID "cntnt01searchinput_2".
Problem is that if I click on a submit (button1 or button2 - it doesnt matter) so search module do a search but no results are found.
If I let there basic template search, so there is ID "cntnt01searchinput" (no number) and it works. Results are found. But with different ID no.
My ask for a help is where I can set these IDs for search module? I mean shoud I edit some PHP code or just do it in smarty in search template? Because it looks like that only ID with "cntnt01searchinput" is respected and every other is refused.
Thank you for a advice/help.