Hmm... that is not good. I can't see you getting an API to change a DTML file. The only option would be to create the ObjectManager's contents page from python, and people seem not to like doing that, but it would allow a little more engineering to take place.
Hmmm... It looks as though what is needed is fish-bowl proposal to redesign the way ObjectManager handles and displays rows for specific object types - the requirement being that this be third-party-pluggable (For want of a better term). (No that was not me volunteering - too much on at the moment, sorry). One question about zshell though, what is the box that is added "left of the add product pulldown"? Is it something that ABSOLUTELY has to be on the contents listing (i.e. something to do with creating or maintaining the objects listed?). Could it be backdoor'd into all_meta_types so that it, itself is listed in the pulldown, or could it have a ZMI tab of it's own (Both of these are easier than live patching the DTML)? Adrian... -- Adrian Hungate EMail: [EMAIL PROTECTED] Web: http://www.haqa.co.uk ----- Original Message ----- From: "Jim Penny" <[EMAIL PROTECTED]> To: "Adrian Hungate" <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 4:26 PM Subject: Re: [Zope-dev] A Modest Proposal Concerning Monkey Patches > On Wed, Aug 14, 2002 at 03:48:51PM +0100, Adrian Hungate wrote: > > Hmm... ok, now I see what you are talking about, however, you are talking > > about modifying a DTMLFile object - I am not sure of any reliable API (Or > > even magic) that will allow that to happen in a "play nice with others" way. > > > > Just for clarity's sake (For me if no-one else), what object type are you > > wanting to change manage_main for? > > > > I have to admit to not knowing zshell or external_editor well, but I have > > seen mentions of ee making changes to the ZMI - I had assumed this was the > > addition of tabs (And DTMLFiles), not the replacement of them. I take it I > > was wrong in this assumption? > > yeah, externaleditor inserts icons into many rows of the name column. > zshell want an extra text box to the left of the "add product" pulldown. > There are other products that do similar things. I think the Photo > product modifies things in a similar manner to externaleditor. > These are, I suspect, not even at the object stage. You have to modify > rows in a table. > > Jim _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )