'Serenity' reports 'stylesheet error [SOLVED]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
notarysojac
New Member
New Member
Posts: 7
Joined: Mon Apr 02, 2012 4:18 pm

'Serenity' reports 'stylesheet error [SOLVED]

Post 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.
Last edited by notarysojac on Sun Apr 15, 2012 9:11 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: 'Serenity' reports 'stylesheet error

Post 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.
notarysojac
New Member
New Member
Posts: 7
Joined: Mon Apr 02, 2012 4:18 pm

[SOLVED] 'Serenity' reports 'stylesheet error

Post by notarysojac »

Thank you, kind sir, for that prompt and very helpful response.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Layout and Design (CSS & HTML)”