[pmwiki-users] Suggested default template changes for 2.1

Simon s-i-m-o-n at paradise.net.nz
Wed Dec 7 12:04:13 CST 2005


http://pmwiki.org/wiki/PITS/00615 (note there is additional discussion 
on the PITS page)

Summary: Suggested default template changes for 2.1
Status: Discussion
Category: Feature

Description: The following are proposed for discussion, to be 
implemented as part of 2.1. They will make it easier for admins to 
customise their pages with less changes required to templates etc.

They are changes to the default pmwili template 
(|/skins/pmwiki/pmwiki.tmpl|)

*1) Include the |pmwiki.css| file /after/ the page specific styles*

ie in the template

  <!--HeaderText-->
  <link rel='stylesheet' href='$SkinDirUrl/pmwiki.css' type='text/css' />

instead of

  <link rel='stylesheet' href='$SkinDirUrl/pmwiki.css' type='text/css' />
  <!--HeaderText-->

This will allow the |pmwiki.css| styles to override the styles included 
in the page.

*2) Include |$DefaultGroup| 
<http://pmwiki.org/wiki/PmWiki/BasicVariables#DefaultGroup> in side bar 
and wikicmnds*

|<!--wiki:$Group.SideBar |*|$DefaultGroup.SideBar|*| $SiteGroup.SideBar-->|

and

|<div id='wikicmds'><!--wiki:$Group.PageActions 
|*|$DefaultGroup.PageActions|* |$SiteGroup.PageActions-->|

*3) Page Actions are displayed twice on a page, but included into the 
template using two separate mechanisms*
Use the same mechanism (and source) for page actions

At the bottom of the page replace

      <a href='$PageUrl?action=edit'>$[Edit]</a> -
      <a href='$PageUrl?action=diff'>$[History]</a> -
      <a href='$PageUrl?action=print' target='_blank'>$[Print]</a> -

with |<!--wiki:$Group.PageActions $SiteGroup.PageActions-->|




-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20051208/ed109d22/attachment.html 


More information about the pmwiki-users mailing list