Re: [Zope] DTML-TREE problems -- any experienced arborists out there
Is it possible that you need to put the headers and footers inside <TR><TD> </TD></TR> ? Have a look at the HTML source - are the headers and footers in the right place in the source? Anthony
Chris Withers wrote Yeah, I noticed this too...
All my headers appeared at the top of the tree and so in the end I gave up us ing it :(
I don't know whether this is a bug or a feature?
Chris
Richard Wackerbarth wrote:
I'm trying to use header/footer to do this and they don't seem to get calle
d in
the order I would expect.
I have the following structure:
Volume 1 Jan 1998 Article 1 Article 2 Feb 1998 Article 3 Article 4 .... Dec 1998 Article 99 Volume 2 Jan 1999 Article 101 ...
It's easy to get a "tree" display of the articles. However, I need to stick some text in the middle of the tree. - Volume 1 - Jan 1998 This issue is about snow geese ...... - Article 1 All eggs are not golden. In fact, .... + Article 2 Reader survey ..... + Feb 1998 - Mar 1998 This issue is about racoons ..... + Article 5 + Article 6 Reader survey .... ....
Shouldn't be too hard. Put the "About paragraph" in a header and the "Reade r survey" in the footer. Then add a little code to distinguish the tree depth so that we only expand headers and footers at the "month" level of the tree.
However, this is what I get. Header Volume 1 Header Jan 1998 Header Article 1 Footer Article 1 Footer Jan 1998 Header Mar 1998 ... Footer Volume 1 Footer Animal Matters
- Volume 1 - Jan 1998 - Article 1 All eggs are not golden. In fact, .... + Article 2 + Feb 1998 - Mar 1998 + Article 5 + Article 6
ALL the headers and footers are processed BEFORE any of the tree is rendere d.
Anyone got any insights? -- Richard Wackerbarth rkw@Dataplex.NET
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
participants (1)
-
Anthony Baxter