[pmwiki-users] Different template for individual pages?

Hans design at softflow.co.uk
Sat Feb 11 03:57:57 CST 2006


Sorry for coming in late on this!
You can also add a (:skin skinname:) markup, which lets you set a skin
on a wiki page, overriding the skin seting in config.php.

add to config.php:

# Add a (:skin skinname:) markup
Markup('skin', 'fulltext',
  '/\\(:skin\\s+([-\\w]+)\\s*:\\)/e',
  "PZZ(SetSkin(\$pagename,'$1'))");


Use on page like (:skin pmwiki:)

skinname is the name of your skin directory.
  

Best, 
~Hans                           





More information about the pmwiki-users mailing list