-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello,
Boxes related things defined within CPSDefault have been moved to a new package : CPSBoxes. (http://cvs.nuxeo.org/CPS/CPSBoxes) Be sure to get CPSBoxes if you're updating CPSDefault and launch the cps updater (cpsupdate) to install the skins of CPSBoxes. You *must* launch the installer otherweise your CPS will be broken because of boxes related skins. For this you need to log into your Zope server as manager and then go to your CPS instance and launch the cpsupdate script. If you are using a CPS account you won't be able to log and It will crash since the boxes related skins are not installed anymore by CPSDefault. The CPSDefault revision before the migration is the 3.32.1-4. (should be available tomorrow on zope.org) Compatibility will be kept for a while and existing CPS instances should not have any problem while updating. Compatibility aliases are defined within CPSDefault. You can start to modify your own code relaying on boxes by checking the following : 1) Change CPSDefault to CPSBoxes within your Boxes TI declarations for the typeinfo_name property. 2) Change the creation of BoxContainer from : >>> container = object.manage_addProduct['CPSDefault'].addBoxContainer() to : >>> container = object.manage_addProduct['CPSBoxes'].addBoxContainer() 3) Change the Boxes tool creations from : In a CPSInstaller context : >>> self.verifyTool('portal_boxes', 'CPSDefault', 'CPS Boxes Tool') to : >>> self.verifyTool('portal_boxes', 'CPSBoxes', 'CPS Boxes Tool') In a CMF context : >>> portal.manage_addProduct['CPSDefault'].manage_addTool('CPS Boxes Tool') to >>> portal.manage_addProduct['CPSBoxes'].manage_addTool('CPS Boxes Tool') 4) Change all your boxes related imports from CPSDefault to CPSBoxes, of course. This is the first step to portlets migration. (CPSPortlets / CPSSkins) Cheers, J. - -- Julien Anguenot | Nuxeo R&D (Paris, France) CPS Plateform : http://www.cps-project.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFCUJNMGhoG8MxZ/pIRAoKdAJsGaQzXGyq5bpTcMDyXYNOWGPb5/ACeIahA qGLxksP/qC1iBsxqHNQt9yA= =9jAR -----END PGP SIGNATURE----- _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
