DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:multitemplate_styleman

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
plugin:multitemplate_styleman [2009-07-27 13:14] – changed outbound urls tatewakeplugin:multitemplate_styleman [2013-11-02 02:22] (current) Klap-in
Line 11: Line 11:
 conflicts  : conflicts  :
 similar    : similar    :
-tags       : style.ini, multitemplate, configuration, template+tags       : style, multitemplate, configuration, template 
 +downloadurl: http://pb.wh4f.de/dokuwiki/multitemplate_styleman.zip
 ---- ----
  
  
-This is an extension for the [[http://tatewake.com/wiki/projects:multitemplate_for_dokuwiki|MultiTemplate]] template to solve the problem with templates using ''style.ini'' (discussed [[http://tatewake.com/wiki/talk:projects:multitemplate_for_dokuwiki&rev=1177656191#style.ini|here]]). +This is an extension for the [[:template:multitemplate|MultiTemplate]] template to solve the problem with templates using ''style.ini'' (discussed [[:template:multitemplate&rev=1177656191#style.ini|here]]). 
  
  
Line 22: Line 23:
 Download the plugin here (manually or via Plugin Manager): http://pb.wh4f.de/dokuwiki/multitemplate_styleman.zip Download the plugin here (manually or via Plugin Manager): http://pb.wh4f.de/dokuwiki/multitemplate_styleman.zip
  
-The plugin is compatible with DokuWiki version 2006-11-06 and version 2007-06-26. It requires, that the [[http://tatewake.com/wiki/projects:multitemplate_for_dokuwiki|MultiTemplate]] template is installed.+The plugin is compatible with DokuWiki version 2006-11-06 and version 2007-06-26. It requires, that the [[:template:multitemplate|MultiTemplate]] template is installed.
  
 For the current version of multitemplate, a small addition in the file ''/lib/tpl/multitemplate/meat.php'' is required. For the current version of multitemplate, a small addition in the file ''/lib/tpl/multitemplate/meat.php'' is required.
  
-Add the following line to the top of the meat.php file:((You know this game, if you have already tried to adapt existing templates for the use with [[http://tatewake.com/wiki/projects:multitemplate_for_dokuwiki|MultiTemplate]]))+Add the following line to the top of the meat.php file:((You know this game, if you have already tried to adapt existing templates for the use with [[:template:multitemplate|MultiTemplate]]))
 <code php> <code php>
 <?php global $DOKU_TPL,$DOKU_TPLINC; ?> <?php global $DOKU_TPL,$DOKU_TPLINC; ?>
Line 34: Line 35:
 ===== Usage ===== ===== Usage =====
  
-With this plugin installed, you are now able to use templates making use of ''style.ini'' with [[http://tatewake.com/wiki/projects:multitemplate_for_dokuwiki|MultiTemplate]] . No additional configuration is required.+With this plugin installed, you are now able to use templates making use of ''style.ini'' with [[:template:multitemplate|MultiTemplate]] . No additional configuration is required.
  
   Remark: if you want to use the default-template, copy the folder /lib/tpl/default/images/ to /lib/tpl/multitemplate/images/ to assure   Remark: if you want to use the default-template, copy the folder /lib/tpl/default/images/ to /lib/tpl/multitemplate/images/ to assure
Line 51: Line 52:
 /** /**
  * Multitemplate Styleman Action Plugin:   Hooks into stylesheet generation to allow  * Multitemplate Styleman Action Plugin:   Hooks into stylesheet generation to allow
- * templates managed by the mutlitemplate template (http://tatewake.com/wiki/projects:multitemplate_for_dokuwiki)+ * templates managed by the mutlitemplate template (http://dokuwiki.org/template:multitemplate)
  * the usage of style.ini  * the usage of style.ini
    
Line 80: Line 81:
    * Register its handlers with the DokuWiki's event controller    * Register its handlers with the DokuWiki's event controller
    */    */
-  function register(&$controller) {+  function register(Doku_Event_Handler $controller) {
        if ($this->isMultitemplateTemplateActive())        if ($this->isMultitemplateTemplateActive())
     $controller->register_hook('TPL_METAHEADER_OUTPUT', 'BEFORE',  $this, '_replacecss');     $controller->register_hook('TPL_METAHEADER_OUTPUT', 'BEFORE',  $this, '_replacecss');
plugin/multitemplate_styleman.1248693290.txt.gz · Last modified: 2009-07-27 13:14 by tatewake

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