RE: [Zope] Simple question?
From: Paul Winkler [mailto:pw_lists@slinkp.com] Subject: Re: [Zope] Simple question?
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.
I want to clarify something here. I'm not trying to customize the way Folders look in CMF/Plone. I want to keep them the way they are. What I want is to create a new special kind of folder that is distinct from the existing Folder type and has slightly different methods. It seems to me (and maybe I'm missing something) that you are talking about changing the way all Folders work. I'd be happy to be mistaken though. My impression is that what I'm after couldn't be accomplished simply with portal_skins but would involve getting into portal_types or something?
--
Paul Winkler http://www.slinkp.com
-- Mike
You may easily do this by creating a new python product that subclass the original folder class and overhides (i.e. redefine) the methods/properties you want to change. http://www.zope.org/Members/maxm/HowTo/minimal_01 should point you in the right direction. If you want to do everything TTW you may either use LocalFS or alike products to map a file system tree to a zope object or use a ZClass. I would suggest the first route as in the long run you will feel better writing python code rather than using Zclasses, but this is a personal view .... Hope this helps. __peppo
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Tiller, Michael (M.M.) Sent: venerdì 12 settembre 2003 23.22 To: 'zope@zope.org' Subject: RE: [Zope] Simple question?
From: Paul Winkler [mailto:pw_lists@slinkp.com] Subject: Re: [Zope] Simple question?
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.
I want to clarify something here. I'm not trying to customize the way Folders look in CMF/Plone. I want to keep them the way they are. What I want is to create a new special kind of folder that is distinct from the existing Folder type and has slightly different methods.
It seems to me (and maybe I'm missing something) that you are talking about changing the way all Folders work. I'd be happy to be mistaken though.
My impression is that what I'm after couldn't be accomplished simply with portal_skins but would involve getting into portal_types or something?
--
Paul Winkler http://www.slinkp.com
-- Mike
_______________________________________________ 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 )
Tiller, Michael (M.M.) wrote at 2003-9-12 17:21 -0400:
... I want to clarify something here. I'm not trying to customize the way Folders look in CMF/Plone. I want to keep them the way they are. What I want is to create a new special kind of folder that is distinct from the existing Folder type and has slightly different methods. ... My impression is that what I'm after couldn't be accomplished simply with portal_skins but would involve getting into portal_types or something?
Copy the "Folder" factory in your "portal_types" and change the copy as necessary. Maybe, this is enough for your purpose. Dieter
participants (3)
-
Dieter Maurer -
Giuseppe Bonelli -
Tiller, Michael (M.M.)