selfthinker / dokuwiki-plugin-loadskin

Change the skin/template/theme of DokuWiki - admins can select templates for pages or namespaces, users can select templates for the whole wiki
http://dokuwiki.org/plugin:loadskin
GNU General Public License v2.0
7 stars 6 forks source link

No template variables from tpl_getConf #6

Closed louiswolf closed 11 years ago

louiswolf commented 12 years ago

I've written a template with some configuration options which I can't read from tpl_getConf with loadskin installed. For instance:

mytemplate/conf/metadata.php:

$meta['btl_themecolor'] = array(
       'multichoice', 
       '_choices' => array(
              'blue', 
              'green', 
              'orange', 
              'purple'
       )
);

and mytemplate/conf/default.php:

$conf['btl_themecolor'] = 'orange';

and

tpl_getConf('btl_themecolor');

in my template, doesn't return a result.

selfthinker commented 12 years ago

I cannot reproduce this. Are you sure it's working without the loadskin plugin?

selfthinker commented 11 years ago

I will close this due to missing user feedback.