Page 1 of 1

Code mix-up?

Posted: Sat Jul 26, 2008 12:02 pm
by Faby
Hi, I have a problem

I have a small gaming site, and a member made a tutorial on modding a game. When I paste the code into the writing page, and hit preview, I get lots of stuff like

"TA_SitCampfire (20,10,07,10,"NC_PATH_PEASANT_OUTSIDE5");

Code: Select all

(Smarty_Compiler.class.php, line 446)" string(124) "Smarty error: [in preview:cmspreviewliCJAg line 63]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(4539) "Smarty error: [in preview:cmspreviewliCJAg line 78]: syntax error: unrecognized tag:" [error]


My guess is that some of the brackets or instances of the code get mixed up with the code of the cms files. How can I get rid of this problem?

Re: Code mix-up?

Posted: Sat Jul 26, 2008 2:54 pm
by Pierre M.
Faby wrote: My guess is that some of the brackets or instances of the code get mixed up with the code of the cms files. How can I get rid of this problem?
I agree (but can't be sure). Have you tried Global Content Blocks, User Defined Tags, {literal} enclosing etc ?

Pierre M.