RE: [Zope] CMF and standalone product in python
Simply write a vanilla Zope product class for each content type that implements your own DublinCore interface implementation; create all the Zope Management Interface-based UI tabs that you need for your item class. To make it work in Zope with the CMF, create a ZClass that inherits from (first) said class, and (secondly) CMFCore.PortalContent. Follow instructions similar to the FAQ content type howto on cmf.zope.org (create the zclass; add needed methods; add factory type information object to types tool; create skins; test/tweak). You may also get more mileage asking this same question in the Zope-cmf list. Sean -----Original Message----- From: Roger [mailto:roger@projekt01.ch] Sent: Friday, September 20, 2002 3:09 AM To: zope@zope.org Subject: [Zope] CMF and standalone product in python Hello How is the best way to make a product working in CMF and without CMF in ZOPE. I whould like to make my product working for both oppurtunity for the CMF/plone and just ZOPE without CMF/plone. Mit freundlichen Grüssen Roger Ineichen ___________________________ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I think thats a solution, but I have a problem at this way. My product use the attribute "meta_type" in every class and many methods. If I inherit this classes I have to use other class names, and then, the class name and it's "meta_type" isn't the same I use in the methods. Mit freundlichen Grüssen Roger Ineichen Projekt01 GmbH ___________________________ END OF MESSAGE
-----Ursprüngliche Nachricht----- Von: sean.upton@uniontrib.com [mailto:sean.upton@uniontrib.com] Gesendet: Freitag, 20. September 2002 17:40 An: roger@projekt01.ch; zope@zope.org Betreff: RE: [Zope] CMF and standalone product in python
Simply write a vanilla Zope product class for each content type that implements your own DublinCore interface implementation; create all the Zope Management Interface-based UI tabs that you need for your item class. To make it work in Zope with the CMF, create a ZClass that inherits from (first) said class, and (secondly) CMFCore.PortalContent. Follow instructions similar to the FAQ content type howto on cmf.zope.org (create the zclass; add needed methods; add factory type information object to types tool; create skins; test/tweak).
You may also get more mileage asking this same question in the Zope-cmf list.
Sean
-----Original Message----- From: Roger [mailto:roger@projekt01.ch] Sent: Friday, September 20, 2002 3:09 AM To: zope@zope.org Subject: [Zope] CMF and standalone product in python
Hello
How is the best way to make a product working in CMF and without CMF in ZOPE. I whould like to make my product working for both oppurtunity for the CMF/plone and just ZOPE without CMF/plone.
Mit freundlichen Grüssen Roger Ineichen ___________________________ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
sean.upton@uniontrib.com -
trash.mail@gmx.ch