Kviečiu išmąstyti ir puoselėti bendrystę ugdytis, bręsti, gyventi amžinai jau čia ir dabar. Pavaizdavimai? E6E6FF Asmeniškai? BA9696 Darbai FFFFC0 Išsiaiškinimai D8F1D8 Užrašai EEEEEE Kitų mintys? ECD9EC Dievas man? FFECC0 Mieli dalyviai! Visa mano kūryba ir kartu visi šie puslapiai yra visuomenės turtas, kuriuo visi kviečiami laisvai naudotis, dalintis, visaip perkurti. - Andrius |
administrators (intermediate)
This page describes the predefined Wiki Styles and how a Wiki Administrator can define additional Wiki Styles as a local customization for all pages (in local/config.php) or specific groups (in local/$Group.php). All predefined Wiki Styles are setup in the global array Predefined Wiki StylesThe following array-values are set by
Author-Defined Wiki Styles
Sample: If you want to define a (site-wide) style the same as the page style %define=projectentry color:red%
use $WikiStyle['projectentry']['color'] = 'red';
The
then a markup will output Printer-Friendly StylesIf your custom-styles (in local/config.php) are getting very colorful it might be useful to disable them in print-view. This can be done easily by putting them into a condition. if($action!="print") { // your custom-styles } NotesTo be done:Questions:I tried this but background didn't work, thou border and float worked? /Vincent 2008-04-08 $WikiStyle['vMenu']['background']='#ffffcc' ; $WikiStyle['vMenu']['float']='left' ; $WikiStyle['vMenu']['border']='1px dotted red' ; Try using $WikiStyle['vMenu']['background-color']='#ffffcc'; -- unlike background , background-color is defined in the $WikiStyleCSS array, which is checked for valid properties.
This page may have a more recent version on pmwiki.org: PmWiki:CustomWikiStyles, and a talk page: PmWiki:CustomWikiStyles-Talk. |
CustomWikiStylesNaujausi pakeitimai |
Puslapis paskutinį kartą pakeistas 2009 vasario 14 d., 16:36
|