-----Original Message----- From: Gregor [mailto:vorlon@iglou.com]
Does anybody know how to access the icons that Zope uses for its objects (folders, DTML Documents, etc.) for a Z Class I created, or where that info might be found?
I know I could just load the icon image from the "lib/python/Products/OFSP/images" directory, but I'm trying to figure out how to do it without using up extra space in the database for that image (assuming that I'm not misunderstanding that bit...)
On the Basic tab of your ZClass, the italic icon field is the URL of the image, relative to the root URL of your Zope installation. If you replace this with the relative URL of another icon, say misc_/OFSP/Folder_icon.gif for the Folder icon, your ZClass will be displayed with that URL for its icon. Make sure you create the ZClass without an initial image, otherwise this initial image will still take up space in the ZODB until the ZClass is removed, even though you do not use it. -- Martijn Pieters, Software Engineer | Digital Creations http://www.digicool.com | Creators of Zope http://www.zope.org | mailto:mj@digicool.com ICQ: 4532236 | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 -------------------------------------------
participants (1)
-
Martijn Pieters