Hi, I was thinking about making a admin interface that pulls the content from the management interface and displays it in the template context it comes from. I know how to do most of it but am lacking ZMI understanding of the situation. Does anybody know of a resource on how to access the zope data and open it up for editing then saving? Cheers, Wayne __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
That's doable. Probably the most direct way to do it is to create a Python product that subclasses the built-in Folder object. That way, you can easily determine which folders should have standard ZMI interfaces and which should have custom interfaces. You could then grab client- or site-specific content through acquisition. HTH, Dylan On Mon, 2003-05-26 at 19:42, Wayne Connolly wrote:
Hi, I was thinking about making a admin interface that pulls the content from the management interface and displays it in the template context it comes from.
I know how to do most of it but am lacking ZMI understanding of the situation.
Does anybody know of a resource on how to access the zope data and open it up for editing then saving?
Cheers,
Wayne
__________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
_______________________________________________ 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 )
Wayne Connolly wrote at 2003-5-26 19:42 -0700:
... Does anybody know of a resource on how to access the zope data and open it up for editing then saving?
The ZMI is not editable through the Web. When you want to edit it, you would use a standard editor and edit the files implementing the ZMI. Most of these files are located in "OFS/dtml" and "App/dtml". Be warned, however, that this modification of Zope sources can make upgrades more difficult. We use Zope from CVS. This allows to have (moderate) modifications and still be able to upgrade easily. Dieter
On Tuesday 27 May 2003 12:11 pm, Dieter Maurer wrote:
Wayne Connolly wrote at 2003-5-26 19:42 -0700:
... Does anybody know of a resource on how to access the zope data and open it up for editing then saving?
The ZMI is not editable through the Web.
Of course, this might depend on how much damage you want to do. ;-) If all you want is to change the general "look and feel", I think you might be able to get somewhere by providing replacements for "manage_page_header" and "manage_page_footer" -- which are sourced by the ZMI's DTML pages. This would allow you to do things like set the color, change stylesheets, etc. But not major restructuring. Note also that there are stylesheet names built into the various ZMI forms -- you should look at the sources to see what names are defined. This you can do through the web, IIRC, I think it will shadow the built-in versions (you might not be able to put them in the root folder?). Cheers, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
participants (4)
-
Dieter Maurer -
Dylan Reinhardt -
Terry Hancock -
Wayne Connolly