[pmwiki-users] Hide Searchbox

Sannyasin Sivakatirswami katir at hindu.org
Tue Oct 23 17:29:09 CDT 2007


Aloha, Hans:

As always, you are a jewel!

Hope things are well in
Scotland and you get lots of snow this year

Yes, we are using FixFlow and you have answered all
our needs.

Thank you
Cheers from Hawaii
Sivakatirswami

----------




Hans wrote:
> 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