Re: HTML/Template_ITX : blocks shown even if not declared.

From: Date: Sun, 11 Jan 2004 13:23:45 +0000
Subject: Re: HTML/Template_ITX : blocks shown even if not declared.
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10109@lists.php.net to get a copy of this message
On Jan 11, 2004, at 6:41 AM, Alexey Borzov wrote:
Hi! Nicola Delbono wrote:
I found 2 solutions but none of them satisfy me 1. use different {variable} names for the same variable. but this is really stupid 2. addblockFile() and read an external template . But this is an unnecessary filesystem overhead for just 2 lines of html code.
3. Switch to H_T_Sigma and use http://pear.php.net/manual/en/package.html.html-template-sigma.html-template-sigma.hideblock.php
or 4. Switch to Savant [http://phpsavant.com] and skip the whole whole "separate template language" thing -- Savant uses PHP as its template language, and include plugins, filters, etc. While Savant is PEAR-compliant, it's faster than anything already in PEAR. -- Paul M. Jones pmjones@ciaweb.net Savant: the simple alternative to Smarty. http://phpsavant.com/

« previous php.pear.general (#10109) next »