[Pmwiki-users] Re: PmWiki.LayoutBasics

Patrick R. Michaud pmichaud
Sun Nov 28 20:38:18 CST 2004


On Sat, Nov 27, 2004 at 08:36:20AM +0100, chr at home.se wrote:
> 
> * What is a skin...?
>   Q: What is a skin?
>   A: A ''skin'' is a local customization the wiki that changes the \
>      appearance and/or behaviour of the wiki. This could simply be a \
>      matter of choosing different colours, or more advanced such as \
>      changing the structure of a wiki page.
> 
>      On a more practical level, a skin is a '.tmpl'-file which uses \
>      a special format to describe the layout of a wiki page.
> Is the text above correct?
> * Why not call a skin-file for '.skin'??? Shouldn't we call them templates
>   otherwise, or am I missing something?

Partially.  A "skin" really encompasses more than a '.tmpl' file, it's
the .tmpl file along with any associated .css, graphic images, and (as of
2.0.beta1) an optional .php configuration file.

> > The somewhat more than basics:
> 
> I guess this actually a relativel advanced thing to do, so I recommend 
> putting some exampls on the page. Ideally these examples could be tested a 
> a wikiadmin, i.e. the examples are shipped with pmwiki (e.g. in 
> pub/skins/examples/example1)

I can certainly ship some example skins with PmWiki, but perhaps it is 
better for them to be a separately downloaded module, so that I'm 
not overpopulating the directories in the distribution?

Pm



More information about the pmwiki-users mailing list