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