Re: [SMARTY] newbie question

From: Date: Fri, 03 May 2002 07:43:27 +0000
Subject: Re: [SMARTY] newbie question
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4020@lists.php.net to get a copy of this message
// Template object... require_once('Smarty-2.1.0/Smarty.class.php'); class Smarty_Extension extends Smarty { var $left_delimiter = '<!--{ '; // template tag delimiters. var $right_delimiter = '}-->'; } $smarty = new Smarty_Extension; Or // Template object... require_once('Smarty-2.1.0/Smarty.class.php'); $smarty = new Smarty; $smarty->left_delimiter = '<!--{ '; // template tag delimiters. $smarty->right_delimiter = '}-->'; met vriendelijke groet, Jan Rosier * Chickens: The only animals you eat before they are born and after they are dead. * ----- Original Message ----- From: <mattia.c@libero.it> To: "smarty" <smarty-general@lists.php.net> Sent: Friday, May 03, 2002 9:01 AM Subject: [SMARTY] newbie question > Hi, > sorry for the very newbie question, but I cant find the way to change > the delimiters to <!--{ and }-->. I can't find it in the documentation. > > Thank you

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