[Product-Developers] Re: migrating portlets from 2.5 to 3

Espen Moe-Nilssen espen at medialog.no
Wed Oct 29 13:21:37 UTC 2008


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
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20081029/89aa8fac/attachment.html>


More information about the Product-Developers mailing list