Page 1 of 1

Smarty error

Posted: Tue Jun 05, 2012 12:35 pm
by g12
I have new template in our site and I read message:
string(108) "Smarty error: [in tpl_head:24 line 7]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 198)" string(120) "Smarty error: [in tpl_head:24 line 7]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 590)"
The template don't work...
Please, help

Re: Smarty error

Posted: Tue Jun 05, 2012 2:37 pm
by Jos
change it to {cms_stylesheet}

Also read the Warning Notice: on http://themes.cmsmadesimple.org/
If you have a fresh install of 1.10, not an upgrade, some of these themes will give a smarty error related to {stylesheet}, this plugin has been removed, use {cms_stylesheet} instead.
a) Open the template of the theme;
b) Search for {stylesheet};
c) Replace {stylesheet} with {cms_stylesheet};
d) Save template;
In addition to this, you might need to change the paths to background-images in the stylesheet itself.
Search for background: url(uploads/
Change to background: url([[root_url]]/uploads/