Hmm there is a patch for the PatchKit that puts the ZMI in the ZODB, is that
what you need? :)
>From the Doc String:-
Zope Management Interface Style Sheet Patch
==== ========== ========= ===== ===== =====
The patch adds a ZStyleSheet to the root of your Zope
with its contents set to the contents of the standard
manage_page_style.css and points the ZMI at it.
It also adds two DTML Methods initially containing the
default ZMI header and ZMI menu.
Everything can then be modified using the ZMI.
# $Id: ZMImanagePatch.py,v 22.214.171.124 2002/02/03 17:07:16 root Exp $
If this is not in the PatchKit you have, you can get it from my CVS at
http://cvs.haqa.co.uk/viewcvs/Products/PatchKit (there is a tarball option
there to, which should work).
EMail: [EMAIL PROTECTED]
Computers are like air conditioners
-- they stop working properly if you open WINDOWS
----- Original Message -----
From: "Jerome Alet" <[EMAIL PROTECTED]>
To: "Florent Guillaume" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 8:02 PM
Subject: Re: [Zope-dev] multiple monkeypatches
> On Wed, Jun 05, 2002 at 05:15:10PM +0000, Florent Guillaume wrote:
> > Jim Penny <[EMAIL PROTECTED]> wrote:
> > > Is there a safe way to handle multiple monkeypatches?
> > Without an existing framework (I haven't looked at Adrian's PatchKit),
> > it's the same old problem as "intercepting interrupts" on good old 8-bit
> > computers. You just have to save and call the previous one.
> > What I do is this:
> > # 1. define my method
> > def manage_main(...):
> > # ...
> > ...
> > res = self._myproduct_old_manage_main(...)
> Yes, I remember ;-)
> except that what we want to patch there is the user interface
> HTML code itself. I think parsing the HTML code to insert
> some tags where needed would do it, but this seems
> somewhat complicated to do for a simple thing like that.
> Would be fine if the main.dtml file would allow a plugin system...
> Jerome Alet
> Zope-Dev maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope )
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -