View Full Version : Categories
03-10-2005, 05:16 PM
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.
Right now I have:
PDF / *.pdf / PDF's Only
DOC / *.doc / DOC's Only
Entire Website inc PDF & DOC / *.pdf, *.doc / Everything
Note that you don't need the * (asterick) character in your category patterns. You will only need two categories defined:
Category name: PDF
Category name: 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:
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.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.