DokuWiki

It's better when it's simple

User Tools

Site Tools


template:dokuwiki

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
template:dokuwiki [2013-12-27 02:56] aratemplate:dokuwiki [2024-02-06 14:13] (current) andi
Line 5: Line 5:
 author        : Anika Henke author        : Anika Henke
 email         : anika@selfthinker.org email         : anika@selfthinker.org
-lastupdate    : 2013-05-02+lastupdate    : 2014-06-04
 compatible    : (bundled) compatible    : (bundled)
 similar       :  similar       : 
Line 18: Line 18:
 ===== Features ===== ===== Features =====
  
-  * Optional [[config:sidebar]]+  * Optional [[config:sidebar]] 
   * Mobile support (Desktop, Tablet, Phone sizes)   * Mobile support (Desktop, Tablet, Phone sizes)
   * HTML5 compatible   * HTML5 compatible
Line 35: Line 35:
 Additionally to the standard guaranteed [[devel:style.ini]] placeholders, the template uses the following variables: Additionally to the standard guaranteed [[devel:style.ini]] placeholders, the template uses the following variables:
  
-^placeholder variable       ^meaning                                    +^ placeholder variable         ^ meaning                                     
-|''%%__background_site__%%''|background colour of the whole site        +| ''%%__background_site__%%''  | background colour of the whole site         
-|''%%__link__%%''           |colour of links                            +| ''%%__link__%%''             | colour of links                             
-|''%%__existing__%%''       |colour of links to existing internal pages | +| ''%%__existing__%%''         | colour of links to existing internal pages  
-|''%%__missing__%%''        |colour of links to missing internal pages  +| ''%%__missing__%%''          | colour of links to missing internal pages   
-|''%%__site_width__%%''     |width of the whole site                    +| ''%%__site_width__%%''       | width of the whole site                     
-|''%%__sidebar_width__%%''  |width of the sidebar                       |+| ''%%__sidebar_width__%%''    | width of the sidebar                        |
  
  
-E.g. you can adjust the width of the template by overriding the ''%%__site_width__%%'' variable. Simply create the file ''conf/tpl/dokuwiki/style.ini'' (or ''lib/tpl/dokuwiki/style.local.ini'' in Adora Belle) and set the variable accordingly. You can either use a fixed value (px or em) or a percent value (%) if you prefer a dynamic width.+E.g. you can adjust the width of the template by overriding the ''%%__site_width__%%'' variable. Simply create the file ''conf/tpl/dokuwiki/style.ini'' (or old location: ''lib/tpl/dokuwiki/style.local.ini'' in Adora Belle) and set the variable accordingly. You can either use a fixed value (px or em) or a percent value (%) if you prefer a dynamic width.
  
 <code ini conf/tpl/dokuwiki/style.ini> <code ini conf/tpl/dokuwiki/style.ini>
Line 55: Line 55:
 ==== Changing the Logo ==== ==== Changing the Logo ====
  
-The Logo, Favicon and Apple Touch (bookmark) icons are looked up from multiple locations. The default icons (DokuWiki logo) provided by the template can be easily exchanged by uploading the image files to their correct locations using the [[:media_manager|Media Manager]].+The Logo, Favicon and Apple Touch (bookmark) icons are looked up from multiple locations. The default icons (DokuWiki logo) provided by the template can be easily exchanged by uploading the image files to their correct locations using the [[:media_manager|Media Manager popup]] or [[:fullscreen mediamanager|Fullscreen Media Manager]].
  
 Here are the locations checked by the template code: Here are the locations checked by the template code:
  
   * The site's logo   * The site's logo
 +    * '':wiki:logo.svg''
 +    * '':logo.svg''
     * '':wiki:logo.png''     * '':wiki:logo.png''
     * '':logo.png''     * '':logo.png''
Line 71: Line 73:
     * '':apple-touch-icon.png''     * '':apple-touch-icon.png''
     * ''lib/tpl/dokuwiki/images/apple-touch-icon.png''     * ''lib/tpl/dokuwiki/images/apple-touch-icon.png''
 +
 +Please make sure that those namespaces (either root or ''wiki:'') are [[:acl|readable]] to all users. Otherwise the image will be broken to users who are not logged in.
 +
 +**See also:** [[:logo|DokuWiki Logo]]
  
 ==== Action Hooks ==== ==== Action Hooks ====
template/dokuwiki.1388109390.txt.gz · Last modified: 2013-12-27 02:56 by ara

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki