Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Smarty creates errors for each CSS tag

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
0rientsieg
Smarty Rookie


Joined: 08 Jan 2014
Posts: 24

PostPosted: Thu Jan 09, 2014 2:30 pm    Post subject: Smarty creates errors for each CSS tag Reply with quote

Dear All,
Meanwhile I found, how to start Smarty but now I face a different problem:
I created a .tpl file with a number of CSS tags included. Smarty reports now a fatal error for each CSS tag like below shown:

"Fatal error: Smarty error: [in lilawadi.tpl line 29]: syntax error: unrecognized tag: color: #000066; text-decoration: underline; (Smarty_Compiler.class.php, line 446) in /home/www/virtual/myDomain.com/htdocs/Smarty_2.6/libs/Smarty.class.php on line 1094"

If I delete the CSS tags mentioned in the error message the following CSS tags in the .tpl file are reported as fatal error and so on.
Is it only possible to compile unformatted templates with Smarty?
Each answer contributing to the problem will be appreciated!
Wit regards
0rientsieg
Back to top
View user's profile Send private message
douglassdavis
Smarty Junkie


Joined: 21 Jan 2008
Posts: 541

PostPosted: Thu Jan 09, 2014 6:35 pm    Post subject: Re: Smarty creates errors for each CSS tag Reply with quote

See http://www.smarty.net/docsv2/en/language.function.literal
Back to top
View user's profile Send private message
0rientsieg
Smarty Rookie


Joined: 08 Jan 2014
Posts: 24

PostPosted: Fri Jan 10, 2014 1:12 am    Post subject: {literal) Reply with quote

Thanks douglassdavis, it works.
Best regards from Thailand
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP