From what I understand from running a small set of tests in my local installation, you need to make a distinction between template-based and by-default search functions. The templates are geared for narrowing searches based on the ID param. If however you leave out the template input textarea blank Oliver's code takes care of site-wide searches.
Cheers, jsw
search function
search issue
When searching for 2 or more words, it does not matter where they are located (in key words or any text content), but when I use "word1 word2" search has no results, but when I use "word1* word2" it will list the correct articles with "word1" and "word2"!
Any explanation why?
Hard to explain to any user why to put an '*' after each search word...
Ron
Any explanation why?
Hard to explain to any user why to put an '*' after each search word...
Ron
Ron
"Silence is foolish if we are wise, but wise if we are foolish."
"Silence is foolish if we are wise, but wise if we are foolish."
Not bringin back any results !
I tried to put a search form on the left site of my site. I pasted in the left blok in the template.
When i look at the source code i see this:
It seems that the form action is missing.... what did i do wrong....
PS: the search page is on ID 7....
Code: Select all
<form action="###search_input_action:7###" method="post">
<input type="text" name="###search_input_field###" size="10" maxlength="250" value="###search_input_value###" style="font: normal 11px/11px sans-serif; border: solid 1px #9B0468; background: #314E94; padding: 2px; color: #FFFFFF;">
<input type="submit" value="Go" style="font-size:10px;">
</form>
Code: Select all
<form action="" method="post">
<input type="text" name="search_input_field" size="10" maxlength="250" value="" style="font: normal 11px/11px sans-serif; border: solid 1px #9B0468; background: #314E94; padding: 2px; color: #FFFFFF;">
<input type="submit" value="Go" style="font-size:10px;">
</form>
PS: the search page is on ID 7....
Yuluma Nunbanna - workaholic ad dies vitae