Re: [Zope] dtml-tree - change icons

2007-11-23 Thread Sascha Welter
(Wed, Nov 21, 2007 at 07:10:32PM +0100) Dieter Maurer wrote/schrieb/egrapse:
  However, I was told that there is a better tree package (forgot
  its name).

We're using ExpansionTree, which is ages-old, but it works. Maybe that
was the name you were looking for.

Regards,

Sascha

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] dtml-tree - change icons

2007-11-21 Thread Dieter Maurer
Ulla Theiss wrote at 2007-11-21 15:52 +0100:
 ...
we are using the dtml-tree - and we need other pictures for the plus and 
the minus symbol. How can we change them?

The code does not support to change the plus and minus symbols.

Your options:

  *  You change the code (-- TreeDisplay.TreeTag.tpRenderTABLE)

  *  You use monkey patching to redefine p_/mi and p_/pl
 (this will have global effect, of course)

  *  You forget about dtml-tree and use a Page Template based
 tree package.

 ZTUtils.Tree contains such a package and Page Templates
 contains an example how to use it.

 However, I was told that there is a better tree package (forgot
 its name).


A long time ago, I went for option 3.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )