[Zope] Simple question?

Paul Winkler pw_lists at slinkp.com
Fri Sep 12 17:11:55 EDT 2003


On Fri, Sep 12, 2003 at 04:56:08PM -0400, Tiller, Michael (M.M.) wrote:
> I've been looking through Zope material (e.g. the Zope Bible) and most of it talks about building products from scratch.  One thing I constantly find myself doing is say "What I really want is a new class of 'Folder' objects but that display, for example, some additional information when rendered".  In other words, variations on the existing content types.
>  
> It appears that I can use both ZClasses and Python products to do this.  My problem is that I'm working with Plone/CMF content types and they seem pretty complicated to derive new content types from.  If, for example, I just wanted to create a new class of folders but override the "view" (page template?), what is the best way to do that.  I'd like to be able to do much of it from the web, but it isn't clear to me how I'd override something like the "view" (document_view?) method for python-based products.

If all you want to do is customize the view, that's easy in CMF and its
derivatives (plone etc.).  You can do it totally through the web. 

Go into portal_skins and start looking around. Learn how the skins tool
works and how to read and set skin paths, and how to customize things
(hint: it's the button marked "customize" :-))

The zope-cmf mailing list may be useful.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's LASER SPAZ GRAMMAR!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list