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

Summary: A tab driven skin for PmWiki
Version: 20150717
Status: Stable
Prerequisites: pmwiki-2.1
Maintainer: Dfaure
Categories: Skins PHP55
Download: recurve.zipΔ

About

This is the skin I initially made for my homepage, and for my archery club site (a small hint: recurve is the kind of bow I'm using).

Many thanks to the different skin/cookbook authors for the ideas I borrowed...

Installation

To use the Recurve skin for your own Wiki, just download recurve.zipΔ, extract it into /path/to/pmwiki/pub/skins/ and add the following code to your local configuration file:

# Specifies the name of the template file to be used to generate pages. 
$Skin = 'recurve';
# Use of skin own print layout.
$ActionSkin['print'] = $Skin;

Features

The skin features are:

  • Full CSS driven (no tables),
  • Zoom support (fixed size fonts used only for Wiki actions),
  • Wiki actions as notebook tabs,
  • Smooth handling of (:noheader:), (:nofooter:) and (:notitle:) directives,
  • Extra directives (:noleft:), (:notabs:) and (:notrailer:) available to hide unwanted sections,
  • Specific light print layout.

Like the Grease or the Monobook skin does, several "fixed" parts of the skin (title, wikititle and footer) may be customized from the configuration file via the $SkinPartFmt array variable, and with regular markup definitions. The skin defaults are:

$SkinPartFmt['wikititle'] = "$WikiTitle > {\$Group} / {\$Title}";
$SkinPartFmt['suptitle'] =
  "[[{\$DefaultGroup}|$WikiTitle]] > [[{\$Groupspaced}]] /";
$SkinPartFmt['title'] = '{$Titlespaced}';
$SkinPartFmt['footer'] = ...;

As a side effect, the (:title ...:) directive will handle regular markup (emphasis, links, ...).

Contributor

Dfaure

History

2015-07-17
Made it php 5.5 compliant
2006-12-05
Added RecipeInfo data, footer customization feature. Fixed erroneous Site.PageActions handling and sidebar layout.
2005-11-04
Added handling of Site.PageActions (introduced with PmWiki v2.0 default skin) and header customization feature.
2005-08-24
Minor bug fixes including sidebar overflow.
2005-06-17
Fixed forgotten AllRecentChanges link.
2005-06-16
Added handling of Site group and related directives.
2005-03-17
Updated to latest skin loading code (PmWiki v2.0.beta22 and higher).
2005-01-17
Initial release

Comments

Why has the print page no white background

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 modified on July 17, 2015, at 09:28 AM
$StopWatch