phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] recursion in templates


From: totschnig . michael
Subject: [Phpgroupware-developers] recursion in templates
Date: Thu, 26 Sep 2002 01:12:38 -0400
User-agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Common Lisp, i386-redhat-linux)

Hello,

does the template class in 0.9.14 permit recursion? I am trying to
write an export function for the bookmark module that creates a
bookmark file for Netscape or Mozilla. I tried with the following
template: 

<!-- This is an automatically generated file.
It will be read and overwritten.
Do Not Edit! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>

<DL><p>
<!-- BEGIN catlist -->
    <DT><H3>{categ}</H3>
    <DL><p>
    {subcats}
<!-- BEGIN urllist -->
     <DT><A HREF="{url}">{name}</A>
<!-- END urllist -->
    </DL><p>
<!-- END catlist -->
</DL><p>

the variable subcats has to be filled with a catlist block. But how
can I associate an instance of a block to it without touching the
enclosing block?

Michael






reply via email to

[Prev in Thread] Current Thread [Next in Thread]