[pmwiki-users] pageactions formatting

Crisses crisses at kinhost.org
Sat Oct 28 04:26:20 CDT 2006


On Oct 27, 2006, at 11:22 PM, dso wrote:

> In Site.PageActions I have:
>
> (:if !authid:)
> * [[{$FullName}?action=login|$[Login]]]
> (:if authid:)
> * [[{$FullName}?action=logout|$[Logout]]]
> * [[Site]]
> * %item rel=nofollow class=edit
> accesskey='$[ak_edit]'%[[{$FullName}?action=edit | $[Edit] ]]
> * %item rel=nofollow class=diff
> accesskey='$[ak_history]'%[[{$FullName}?action=diff | $[History] ]]
> (:if:)
> * %item rel=nofollow class=print
> accesskey='$[ak_print]'%[[{$FullName}?action=print | $[Print] ]]
> * %item rel=nofollow class=search
> accesskey='$[ak_search]'%[[{$FullName}?action=search | $[Search] ]]
>
> And the menu looks like (all to the right):
> Logout Site Edit History Print Search
>
> I want to get the Logout/Login on the left and the rest on the  
> right but
> text formatting seems to have no effect.

This is just a syntax question: Are the (:ifend:)'s implied?

Other than that, you aren't doing anything to differentiate which  
side one group belongs to over the other.  I suggest you create  
wikistyles for this issue -- a wikistyle with a float=left around the  
if Login/Logout area.  You may have to put a [[<<]] just after the  
Search to unset the float.

Documentation:
http://www.pmwiki.org/wiki/PmWiki/WikiStyles
http://www.pmwiki.org/wiki/PmWiki/WikiStyleExamples

Alternatively you can work in the CSS on the skin files, then apply  
the css style in wiki markup (still uses the same syntax as WikiStyles).

If you need more help with this, let me know.

Crisses




More information about the pmwiki-users mailing list