Re[2]: [PEAR-DEV] a question to HTML_Template_IT/ITX maintainers
| From: | Alexey V. Borzov | Date: | Thu, 19 Sep 2002 17:54:42 +0000 |
| Subject: | Re[2]: [PEAR-DEV] a question to HTML_Template_IT/ITX maintainers | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9225@lists.php.net to get a copy of this message | ||
Hello Christian,
Thursday, September 19, 2002, 8:58:36 PM, you wrote:
>> Well, I introduced the setGlobalVariable() method. Variables set
>> by it are substituted into every block and do not trigger the
>> "block empty/nonempty" logic.
>> Great for common directory prefixes, session identifiers and
>> this kind of stuff.
CD> Sounds nice, but some time ago I needed a diffrent feature:
CD> <!-- BEGIN OuterBlock -->
CD> {OuterBlock_ID}
CD> <!-- BEGIN InnerBlock -->
CD> xyz.php?inner={InnerBlock_ID}&outer={OuterBlock_ID}
CD> <!-- END InnerBlock -->
CD> <!-- END OuterBlock -->
CD> IIRC this causes problems. Is it possible to fix it?
If you mean that {OuterBlock_ID} was NOT substituted in
InnerBlock, then yes, in my version of the class the OuterBlock's
variables are substituted _after_ the InnerBlock's. Got bitten by
this thing, too. :]
--
С уважением, Алексей Борзов
отдел интернет-проектов ООО "РДВ-Медиа"
http://www.rdw.ru
http://www.vashdosug.ru