[pmwiki-users] Question about searchbox

Ian MacGregor ardchoille42 at me.com
Sun Oct 6 01:40:32 CDT 2013

 Thank you very much for taking the time to assist with this. This explains why I couldn't find the information while researching (:searchbox:). I will hide the button via CSS as that seems to be the simplest way.

I am also just now researching PmForm to learn how to implement an email form for my website.

Thank you for the tips :)

Rev. Ian MacGregor

> On Oct 5, 2013, at 11:36 PM, Petko Yotov <5ko at 5ko.fr> wrote:
> Ian MacGregor writes:
>> I've searched pmwiki.org and read several pages but I can't seem to figure out how to have a (:searchbox:) without the search button. Is this even possible?
>> I was hoping for something like (:searchbox button=none:)
> This is not currenty implemented but there are workarounds.
> The easiest is to hide the button with CSS. Add to the file pmwiki/pub/css/local.css or Group.css, or Group.Page.css something like this:
> .searchbutton {display: none;}
> This will hide all buttons of any (:searchbox:) directive, and also the button of the search form in the default skin, possibly other skins too.
> If you only want to hide the button on a particular searchbox, use this instead:
> .nobtn .searchbutton {display: none;}
> then in the wiki page, use
>>> nobtn<<
> (:searchbox:)
>>> <<
> If you don't want to use CSS, you can always create a search form with the PmWiki forms markup, see http://www.pmwiki.org/wiki/PmWiki/Forms , or even redefine the (:searchbox:) markup to use your own functions.
> Petko
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

More information about the pmwiki-users mailing list