Hi !
I have setup this in the constructor method of my theme :
Quote:
function MyTheme() {
global $gallery;
$this->setStandardSettings(
array('test' => 'it'));
}
When I try to use this variable in album.tpl like this :
Quote:
--{$theme.params.test}--
I have only "----" printed ; debug says that :"Notice: Undefined index: test"
I think I have something wrong, but what ?
Thanks for your help
Posts: 14
Answer is in the question : setStandardSettings()
for non standard settings use setParameter()