- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- February 2007
- Status:
- offline
- last visit:
- 28.02.07
- Posts:
- 2
Hi,
I'm trying to create a theme which includes the so-called "conditional comments" (http://www.javascrip…com/howto/cc3.shtml) for IE in it's templates.
But it turns out that Smarty trips over thepart of the code.Code
]>
Is there a way to prevent Smarty/PnRender from trying to go through that problematic piece of code.
Thanks! -
- rank:
-
Helper
- registered:
- September 2005
- Status:
- offline
- last visit:
- 18.09.08
- Posts:
- 145
Did you have to do anything special to get this to work ? I am trying the same thing, but I am getting an error that literal is not valid:
Fatal error: Smarty error: [in modules/home.htm line 21]: syntax error: unrecognized tag 'literal' (Smarty_Compiler.class.php, line 583) in /usr/local/PostNuke/includes/classes/Smarty/Smarty.class.php on line 1095 -
- rank:
-
Steering Committee
- registered:
- January 2003
- Status:
- offline
- last visit:
- 12.11.08
- Posts:
- 848
Usually no - the literal stuff is in the Smarty core itself. Make sure you have the latest version that ships with PN (or newer if available).
--
"He is not dangerous, he just wants to play...."
