[pmwiki-users] How to define a style globally

ABClf languefrancaise at gmail.com
Tue Mar 24 19:53:55 CDT 2009


Hi !

You can use the GroupHeader page of each Group to list some styles, then use
a shortcut to apply them to the page :
for example, write your own style with a name in your PageHeader :
%define=fq bgcolor=#f7f7f7 border="1px solid #cccccc" padding=4px%
then use :
%fq%blabla blabla blabla
where you want your style to be applied.
If needed, a button is doable in the editing text area.
You can share a GroupHeader with other Groups using
http://www.pmwiki.org/wiki/Cookbook/AllGroupHeader or using includes.

Other way to do it, for administrators, is using local customisation. This
way, the style may be shared by the entire wiki.
Have a look at
http://www.pmwiki.org/wiki/PmWiki/WikiStyles (go to Custom style shortcuts)
http://www.pmwiki.org/wiki/PmWiki/CustomWikiStyles

Hope this may help you.
Gilles.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090325/f8497924/attachment.html 


More information about the pmwiki-users mailing list