PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Question/Problem with Category order

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question/Problem with Category order

    I have an issue where I have to move certain categories down in my list of catagories so that they all work in the final search. This however is not my desired order on the final search page.

    Is it possible to change the order of the categories by editing the zdat file after the indexing is done? If so how?

    Also is it possible to change the name of "All" in the catagory drop down list to something else?

    Thanks

  • #2
    The only way to change the order of the categories in the dropdown is to define your own search form, making sure to use the same option value that is specified in the generated form. You would also be able to specify a different name for the "All" category if you do this. You can not easily modify the order by changing the ZDAT files.

    For information on defining your own search form:
    http://www.wrensoft.com/zoom/support...tml#searchform

    To specify categories, we would recommend looking at the HTML source of the generated search form and copying and pasting the category dropdown HTML for the option values required for each category. It should look something like:

    Code:
    <select name='zoom_cat'>
        <option value="-1">All</option>
        <option value="0">News</option>
        <option value="1">Articles</option>
        <option value="2">Misc.</option>
    </select>
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X