My SEARCH box dosn't work - Why ?

niceguy

Avatar: niceguy

2009-02-26 19:23

Maybe I'm a dummy but I can't get the search box to work ???
The resultpage always came out empty - What could be wrong ???

» Quick.Cms v2.x

cgan

Avatar: cgan

2009-02-26 21:55

What skin do you use?

cgan

niceguy

Avatar: niceguy

2009-02-26 23:52

Could it be that ???
I use brightsideoflife from styleshout ...
The site is running on: http://www.lokalbold.dk

Hope you can help because it is killin' me :-)

cgan

Avatar: cgan

2009-02-27 00:43

I had the same problem and it nearly killed me too. But look in templates/container.tpl by brightside a bit down below this:<!-- BEGIN SEARCH_FORM --> you probably find this:
<input type="text" size="20" name="sWord" id="$lang[search]" value="$sWord" class="input" maxlength="100" />
Try this instead:
<input type="text" size="20" name="sPhrase" id="$lang[search]" value="$sPhrase" class="input" maxlength="100" />
You see in Brightside uses the wrong name and value. Name must be "sPhrase" and the value must be "$sPhrase" according to Opensolutions default container.tpl.
Hope this will help you.

cgan

about us | contact