Is there any way to search for A or B or C?
simon July 02, 2012, at 04:07 AM
No. --Petko October 06, 2012, at 07:24 PM
How can the searchbox be embedded in a line of text?
this should be on one line
[[{*$Group}/Recent changes]] - [[Site/Search | $[Search]]]: (:searchbox
target=PmWiki/Search-Talk size=16 wrap=none:)
|
| Recent changes - Search:
|
[[{*$Group}/Recent changes]] - [[Site/Search | $[Search]]]: (:searchbox
target=PmWiki/Search-Talk size=16 wrap=inline:)
|
| Recent changes - Search:
|
simon October 06, 2012, at 04:59 PM
Normally, a HTML <form> is a block level element like a <div> so it is usually on a new line. You may be able to use some CSS like display:inline or float:left to let it be on the same line.
this should be on one line
>>float:left<<
before
>>float:left<<
(:searchbox size=16:)
>><<
after
|
after
|
You could add some CSS rules to your local.css file. --Petko October 06, 2012, at 07:24 PM
This was an attempt to place the code from pmwiki.tmpl into a wiki page.[1]
(:input form action='{$ScriptUrl}/PmWiki/Search-Talk':)
[[{*$Group}/Recent changes]] -
(:input hidden name='n' value='PmWiki/Search-Talk' :)
(:input hidden name='action' value='search' :)
[[PmWiki/Search-Talk | $[Search]]]:
(:input text name='q' value='' class='inputbox searchbox smaller' :)
(:input submit class='inputbutton searchbutton' value='$[Search]' :)
(:input end:)
|
|
|
and then it occurred to me it would make more sense to use the searchbox directive.
How to suppress 'Results from' message
(:searchresults req=1 request=1:)
|
|