RoseTrellis Skin

RedBerry < Skins > Rounded   (talk? | users? | test page | RWD? | set as default | unset | validate: HTML, CSS)

Summary: A CMS-style skin. Action links are hidden.
Version: 2006-11-01
Status: Working, but not fully-featured
Prerequisites: pmwiki-2.0
Maintainer: Sandy
Categories: Skins

Rose Trellis was designed as a single-author website, rather than a traditional wiki.

It is clean-looking, fast to load, and easy to read. In the original colours, it is also somewhat feminine.

Note the absence of the usual Edit, Print, View, ... links. The install instructions include ways to put them on the sidebar, so you only see actions you can do, but you can also use CMSLike or CMSMode, or a variation on them. This makes setting it up a bit tricky, but once done your authors won't have a problem.

It also has a variable $Email, set in local/config.php, that shows at the top right if set.

Sample Site:




This skin was last tested on PmWiki version: 2.2.0beta15. It was created under version 2.something.


1. Unzip the file rosetrellis.zip and put in pub/skins/rosetrellis.

2. This part is a bit different than installing other skins. While you are still in the default skin, edit the sidebar and add the following lines at the bottom:

%item                accesskey='$[ak_view]'%[[{*$FullName} | $[View] ]]\\
%item rel=nofollow   accesskey='$[ak_print]'%[[{*$FullName}?action=print | $[Print] ]]\\
%item rel=nofollow   accesskey='$[ak_history]'%[[{*$FullName}?action=diff | $[History] ]]\\
%item rel=nofollow   			%[[{*$FullName}?action=search | $[Search] ]]\\

(:if auth edit:)
%item rel=nofollow class=edit      accesskey='$[ak_edit]'%[[{*$FullName}?action=edit | $[Edit] ]]\\
(:if auth upload:)
%item rel=nofollow class=upload    accesskey='$[ak_attach]'%[[{*$FullName}?action=upload | $[Attach] ]]\\
(:if !authid:)
(:if authid:)

(Sorry about the long lines, but I don't know where it's safe to split them.)

These lines are a variation of PageActions. You could replace them all with (:include Site.PageActions:), but then you wouldn't have the Search, Login and Logout links.

The first four lines are links to View, Print, History and Search actions. The %item, class, and accesskey bits are described in http://pmwiki.org/wiki/PmWiki/SitePageActions .

The next lines depend on your authority. If you can edit, the edit link appears, and so on.

(:if !authid:)means "if not logged in".

The final (:if:) resets everything.

3. Now we return to the normal skin install sequence. Change the line in /local/config.php to: $Skin = 'rosetrellis';

4. Add you email to local/config.php: $Email='a@b.c'

5. Done!

Skin created by Sandy


Nov. 24, 2006: RoseTrellis5. Better explanation of the extra things in the sidebar.

Nov. 21, 2006: RoseTrellis4. After almost a year, fixed several things. While they worked fine on my site, they didn't look good on the PmWiki site, including the format of the sidebar, mouse-over to see the edit links, and my site name is no longer hard-coded.

Dec. 23, 2005: RoseTrellis3. Fixed the heights of the sections for IE. Thanks for the help, Hans!

Dec. 22, 2005, evening: RoseTrellis2. It now works in Internet Explorer. Except for short pages; IE doesn't recognize the min-height command.

Nov. 2, 2006: Minor changes in description.

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Skins listings and will help newcomers browsing through the wiki.

Page last changed: October 14, 2012, at 02:32 AM.