Page 1 of 1

'Serenity' reports 'stylesheet error [SOLVED]

Posted: Sun Apr 15, 2012 7:11 pm
by notarysojac
Hi CMS folks,

After attempting to install the SERENITY template, I was presented with the following error:

Code: Select all

string(108) "Smarty error: [in tpl_head:25 line 9]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 198)" string(120) "Smarty error: [in tpl_head:25 line 9]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 590)" 
Not sure why this is - I believe that I correctly followed the install-instructions - including replacement of the template text.



Is this situation ringing a bell with anyone?

Thank you.

Re: 'Serenity' reports 'stylesheet error

Posted: Sun Apr 15, 2012 7:33 pm
by Dr.CSS
If you look on the right side of the Themes site you will see the warning...

Warning Notice:

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 has been removed, use {cms_stylesheet} instead.

[SOLVED] 'Serenity' reports 'stylesheet error

Posted: Sun Apr 15, 2012 9:10 pm
by notarysojac
Thank you, kind sir, for that prompt and very helpful response.

Re: 'Serenity' reports 'stylesheet error [SOLVED]

Posted: Tue Apr 17, 2012 5:26 pm
by Rolf
drumogre wrote:Can someone expand on this? Where do I need to change it to "{cms_stylesheet}"?
In the top of the HTML template you will find {stylesheet} it should be {cms_stylesheet} now... Also add [[root_url]]/ to all image paths in the stylesheets.

hope this helps,
Rolf