_


Search the PowerSeek SQL Knowledge Base:

_
PowerSeek :: PowerSeek Knowledge Base :: Searching
_
Question: When I choose to only search the current specific category it does not work when browsing through categories.

Answer: Double check the name and values of the drop down menu where users select to search everything or only the current category. The drop down menu for the search box has to have the name of ‘cat_search’ – without the quotes. The selection items has to have the values of: ‘everything’ and ‘!!thiscategory!!’

For example:

<form method="POST" action="!!tseeksearch!!">
<input type="text" name="keywords" size="33">
<select name="cat_search" size="1">
<option value="everything"> Everything </option>
<option value="!!thiscategory!!"> This Category </option>
</select><input type="submit" value="Search" name="Search1"></p>
</form>

Note that the above search box can only be inside the main category template. (defdir.html) The main category template is responsible for displaying links inside categories. You can edit the main category template when in the Control Panel >> Template Manager >> Main Category/Directory (defdir.html)

Also See:

User Comments:

There are currently no comments available.
_
Add a Comment - Only post comments regarding this KB entry
If you need to get in contact with us then click here.
Name:
Email: (Optional)
Comment:



Type in the letters that apear in the image box

_
PowerSeek Knowledge Base Categories: