DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:style.ini

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:style.ini [2017-12-10 10:03]
andi [Guaranteed color placeholders]
devel:style.ini [2018-01-31 20:02] (current)
Klap-in remove pointer to 2012 release
Line 35: Line 35:
  
 Template authors should generally try to reuse the placeholder names of the default template. Template authors should generally try to reuse the placeholder names of the default template.
 +
 ===== Example ===== ===== Example =====
  
-See for example the [[https://github.com/selfthinker/dokuwiki_template_starter/blob/master/style.ini|style.ini]] of the Starter template for an overview of the file.+See for example the [[https://github.com/selfthinker/dokuwiki_template_starter/blob/master/style.ini|style.ini]] of the Starter template for an overview of the file. If your are a wiki admin who like to modify the style, please use a [[#local style.ini]].
  
 ===== Local style.ini ===== ===== Local style.ini =====
  
-In **Adora Belle** you can overwrite ''style.ini'' values in ''style.local.ini'' files. Just create it alongside style.ini if it doesn't exist. 
  
-**Since Binky** the location and the name of the local ''style.ini'' has changed to the more [[:farms|farm]]-friendly ''conf/tpl/<tpl>/style.ini''. (Where ''<tpl>'' needs to be substituted with the name of the template folder. Just create it if it doesn't exist.)+ 
 +**Since Binky** the location and the name of the local ''style.ini'' is [[:farms|farm]]-friendly at ''conf/tpl/<tpl>/style.ini''. (Where ''<tpl>'' needs to be substituted with the name of the template folder. Just create it if it doesn't exist.)
  
 This prevents losing those changes after an upgrade. The file still needs to include each section (i.e. ''[stylesheets]'' or ''[replacements]'') and paths are relative to the added ini file. This prevents losing those changes after an upgrade. The file still needs to include each section (i.e. ''[stylesheets]'' or ''[replacements]'') and paths are relative to the added ini file.
devel/style.ini.txt · Last modified: 2018-01-31 20:02 by Klap-in