Test /
Banner
Trying to replicate, unsuccessfully, in a wiki page, the same recent changes and search links and box as at the top right of this page template.
The goal is to create a Site.TopBar to replace the current template based wikihead and wikicmd, thus giving PmWiki even more flexibility. This is intended to be similar to the Site.SideBar.
>>rfloat font-size=small<< %rel=nofollow accesskey=$[ak_recentchanges]% [[{*$Group}/RecentChanges | $[Recent Changes] ]]%% - [[{$SiteGroup}/Search | $[Search] ]]: (:searchbox size=20:) >><< |
How do I customise the Search button and get everything to stay on one line?
You could try a table:
||class='rfloat' width=* || %rel=nofollow accesskey=$[ak_recentchanges]% [[{*$Group}/RecentChanges | $[Recent Changes] ]]%% - [[{$SiteGroup}/Search | $[Search] ]]:|| (:searchbox size=20:)|| | ||
|
Often a form becomes its own block, so any text to appear on the same line has to be part of the form:
(:input form action={$ScriptUrl} method=get class='rfloat':) %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:) |