[pmwiki-users] Trying to get the same result in a page as in the template (searchbox & recent changes)

Simon s-i-m-o-n at paradise.net.nz
Mon May 21 17:21:33 CDT 2007


Thanks, this is excellent.
What I can now do is replace wikihead and wikicmds declared in the template
with a 'Site.Topbar' which is thus easier to customise.

Simon

Patrick R. Michaud wrote:
> Forms often act like divs, in that they are block markup and thus
> start on a new line.  The typically solution is to make any text
> part of the form itself, thus I came up with:
>
>   (:input form action={$ScriptUrl} method=get:)
>   %accesskey=$[ak_recentchanges]% [[{*$Group}/RecentChanges | $[Recent Changes] ]]%% -
>   [[{$SiteGroup}/Search | $[Search] ]]:
>   (:input hidden n '{$FullName}' :)
>   (:input hidden action 'search' :)
>   (:input text q class='inputbox searchbox' :)
>   (:input submit value='$[Go]' class='inputbutton searchbutton' :)
>   (:input end:)
>
> See http://www.pmwiki.org/wiki/Test/Banner
>
> Pm
>   



More information about the pmwiki-users mailing list