PDA

View Full Version : Custom Categories



WizardFusion
06-28-2007, 03:39 PM
I know how to use categories to great effect, however I want the following option (if possible). I have a site of standard HTML pages and PDF documents. I want a single checkbox to say "Include PDFs" so that when searching without checking it, the search will only list the HTML files.

I can achieve this using two categories (“Site” and “PDFs”) but I want to hide the “Site” and “All” checkboxes.

The only way I can think of at the moment, is to custom edit the ASP code, check for and hide the “All” and “Site” entries.

Is there any other way.??


Thanks

WizardFusion
06-28-2007, 03:57 PM
Don't worry - I have it sorted now.
I used my suggestion above (hiding the entries)

Ray
06-29-2007, 02:07 AM
Just so you know, you can define your own search form in HTML without modifying the ASP script, as per described in this FAQ:
Q. How do I define my own search form? (http://www.wrensoft.com/zoom/support/faq_howto.html#searchform)

WizardFusion
06-29-2007, 01:10 PM
Thank you Ray, I didn't realise that.
I suppose it helps when we read the manuals.! :)

WizF