[pmwiki-users] Hide Searchbox
Hans
design5 at softflow.co.uk
Tue Oct 23 17:18:45 CDT 2007
Tuesday, October 23, 2007, 11:14:48 PM, Sannyasin Sivakatirswami wrote:
> *something* is generating this output, but we sure can't find it
you are using the Gemini or the FixFlow skin?
Then set in config.php:
$EnableSidebarSearchbox = 0;
this will take out the default sidebar searchbox.
Then you can insert a searchbox into Site.SideBar for instance
with
(:searchbox label=$[Go] value=$[Search] focus=true:)
and can also wrapit into conditional markup to hide it from
non-authorised viewers, like (on one line):
(:if auth edit:)(:searchbox label=$[Go] value=$[Search]
focus=true:)(:if:)
or use some other authorisation level.
~Hans
More information about the pmwiki-users
mailing list