Smarty error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
g12
New Member
New Member
Posts: 2
Joined: Sat May 19, 2012 7:20 am

Smarty error

Post 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
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Smarty error

Post 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/
Post Reply

Return to “CMSMS Core”