Thanks a lot, will try..
Den 22. okt. 2008 kl. 20.45 skrev Martin Aspeli:
Espen Moe-Nilssen wrote:
Hi
When migrating a site from 2.5 to 3 that has a product with 30+
portlets. The portlets can be added as classic portlets without
doing any changes in the portlets itself.
Is there a fast way to convert them to plone 3 portlets so they
can be seen as a choice in @@manage-portlets?
Use the 'archetype' paster template and the 'addcontent portlet'
local command to create all the required portlets. They shouldn't
need any settings, but copy your portlet template to be used by the
renderer.
You'll need to make some changes, though, e.g. to get around the
need for global_defines and to remove anything outside the macro
definition that you don't want to appear, but it shouldn't be too
hard.
Cheers,
Martin
--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers