[pmwiki-users] prevent users from changing seachbox parameters
Hans
design5 at softflow.co.uk
Thu Dec 14 14:20:24 CST 2006
Thursday, December 14, 2006, 8:17:19 PM, JB wrote:
> I put the searchresults markup into my
> Site.PageActions just below the searchbox.
> (:searchbox group=Main size=25 label=Go:)
> (:searchresults group=Main:)
> It still does not stop the fact that if someone removes
> "&group=Main" from the url in the browser it will search
> ALL the pages.
> Now when I do a search it displays results instead of the
> page and is also outputs just below the searchbox in the
> upper right of the page like below.
You need to put your customised (:searchresults:) into Site.Search
instead. Search uses by default Site.Search as a page template to
display searchresults.
Hans
More information about the pmwiki-users
mailing list