Loading...
 
Skip to main content

Features / Usability


how to limit search scope

using tiki3

I want to limit the scope of the search only to the wiki pages, default is search everywhere. There was a way in older version, but I cant figure where is it in V3

can someone help?

TIA
Stephane


well I'm guessing that you already unchecked the object filter box... but you still get results for all when you do a general search correct? Ya, I have actually found no way of changing that in the search feature. I have even gone so far as to uncheck the "ignore individual object permissions", and taken away users permissions (for trackers), but then the attached files (created in a tracker) aren't visible.

That's a start, but my setup requires that I have something very similar to what Google show in their "classic" homepage.

The search called from this point should cover only the wiki area.

Anyone with an idea?

You'll need to edit/customize the module or template (TPL) from which you're calling the search function. Adding something like:

Copy to clipboard
< input type="hidden" name="where" value="wikis" />


will work. I do this all the time when I want to avoid end-users getting search hits from things like trackers or galleries.

HTH,

- RickQuestion | My Tiki Blog | My Tiki UserPage
Need more help? Try TikiWiki for SmartiesQuestion.


The solution proposed by rick99 seems to be the solution I as looking for.

Thanks!