[pmwiki-users] Thanks for the searchbox fix!
JB
jbit at bitlink.com
Mon Nov 27 12:15:03 CST 2006
Hans,
I want to let you know that I will collect together all the help
you give me and put it into a pmwiki page. That will help document
these things for future authors who will use it.
> I did not realise that you put the searchbox into the sidebarfooter!
Yes, I wanted to move it to a different location so I read the
help pages about it and found that you can use display a searchbox
anywhere using (:searchbox:) and that you can hide the original by
setting $EnableSidebarSearchbox = 0; Is there is a better way
to do this?
> The first searchbox HTML is inserted by default, but not shown,
> through #sidebarsearch {display:none}
>
> The second one is from markup you put into SideBarfooter, and you need
> to add focus=1 as a parameter:
>
> (:searchbox group=Main value=Search size=25 label=Go focus=1:)
Excellent! A small point though, I set "focus=true". This searchbox
could/should be a recipe itself! If you do not make this a recipe,
perhaps I will (and give you credit of course). It could modify the
original searchbox to do the focus thing. I do have a long long long
todo list and it might take me some time.
Thanks
John
More information about the pmwiki-users
mailing list