Re: [SMARTY] Few Basic Smarty Questions [Corrected]

From: Date: Thu, 06 Mar 2003 16:26:31 +0000
Subject: Re: [SMARTY] Few Basic Smarty Questions [Corrected]
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8453@lists.php.net to get a copy of this message
hello, On Thu, Mar 06, 2003 at 06:16:29PM +0200, Andrei Verovski wrote: > Hi, > > I am new in Smarty, so I am sorry for dumb questions: > > 1) How to change smarty tags "{" and "}" to "<!--" and > "-->" (this is > standard HTML comments, I have special reason for this)? overwrite $smarty->left_delimiter and $smarty->right_delimiter > 2) How to disable caching of compiled templates in "templates_c" dir? > In other words, how to force Smarty to recompile template each time and > prohibit to store anything in "templates_c" dir? if you set "$smarty->force_compile = true" then the template is recompiled every time before it is displayed. but there is not way to make it not write the template to templates_c before. > 3) How to generate table with alternate odd/even colors? see: http://smarty.php.net/manual/en/language.function.cycle.php > Thanks in advance. have fun messju

« previous php.smarty.general (#8453) next »