Petko, 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 :) Regards, Rev. Ian MacGregor http://www.ianmacgregor.net > On Oct 5, 2013, at 11:36 PM, Petko Yotov <[email protected]> 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 > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
