|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
0rientsieg Smarty Rookie
Joined: 08 Jan 2014 Posts: 24
|
Posted: Thu Jan 09, 2014 2:30 pm Post subject: Smarty creates errors for each CSS tag |
|
|
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 |
|
douglassdavis Smarty Junkie
Joined: 21 Jan 2008 Posts: 541
|
|
Back to top |
|
0rientsieg Smarty Rookie
Joined: 08 Jan 2014 Posts: 24
|
Posted: Fri Jan 10, 2014 1:12 am Post subject: {literal) |
|
|
Thanks douglassdavis, it works.
Best regards from Thailand |
|
Back to top |
|
|
|
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
|