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:)||
Recent Changes - Search:

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:)

Recent Changes - Search:

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.21 MarkupToHTML begin
 3: 00.21 00.21 MarkupToHTML begin
 4: 00.22 00.22 MarkupToHTML end
 5: 00.22 00.22 MarkupToHTML begin
 6: 00.22 00.22 MarkupToHTML end
 7: 00.22 00.22 MarkupToHTML begin
 8: 00.22 00.22 MarkupToHTML end
 9: 00.23 00.23 MarkupToHTML end
10: 00.24 00.23 MarkupToHTML begin
11: 00.24 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
12: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
13: 00.25 00.25 MarkupToHTML end
14: 00.25 00.25 MarkupToHTML begin
15: 00.26 00.25 MarkupToHTML end
16: 00.26 00.25 now
Peak memory: 3,770,888 bytes