PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Categories

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

  • Categories

    I am trying to figure out the best way to make my categories. Basically My main requirement is to make the main search category that PDF's and DOC's don't display. And I would also like to change the "All" to different wording.

    Something like:
    http://www.casey.vic.gov.au/search/search.asp

    Right now I have:

    PDF / *.pdf / PDF's Only
    DOC / *.doc / DOC's Only
    Entire Website inc PDF & DOC / *.pdf, *.doc / Everything

  • #2
    Note that you don't need the * (asterick) character in your category patterns. You will only need two categories defined:

    Category name: PDF
    Pattern: .pdf

    Category name: DOC
    Pattern: .doc

    You will also need to name a catch-all default category for all the pages that don't belong in the two above, eg. "Webpages only"

    To rename the "All" category (for "Entire website"), you will have to either modify the search script (which requires familiarity with the scripting platform in question), or you can define your own search form in HTML and rename it as you like:
    http://www.wrensoft.com/zoom/support...tml#searchform

    The above FAQ doesn't provide the HTML for the category search box, as this varies depending on your category setup. It would be easiest to just allow the script to generate a search form, open the page in a browser, click on "View Source" in the browser, and copy+paste the HTML for the form required. Then once you have done that, you can disable the search form in the script and use your own HTML form.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X