[Product-Developers] Creating a Plone 4 product to hold an External Method
ajung
lists at zopyx.com
Thu Dec 8 15:58:46 UTC 2011
Something like...
my.package/my/package/Extensions/foo.py
Registration in the ZMI:
Module: my.package.foo
Method: xxx....
-aj
JimL wrote
>
> Hi,
>
> I currently run Plone 3.3.5 and have some python scripts which use an
> external method. In my case the external method is simply Python's
> base64.py which I have copied from:
>
> /usr/local/Plone/Python-2.4/lib/python2.4/base64.py
>
> into
>
> /usr/local/Plone/Zope-2.10.11-final-py2.4/Extensions/base64.py
>
> I now am upgrading to Plone 4, and realise there is no Zope-XXXX directory
> in the new filesystem.
>
> From
> http://plone.293351.n2.nabble.com/Plone-4-0b3-and-old-zope-products-td5050917.html
> a Nabble post I take it that I need to create a product to hold my
> external method.
>
> Therefore I intend to create a new Plone 4 product using paster.
>
> However, where in the product filesystem should I out my "Extensions"
> folder? my.product/my/product/Extensions? Does the "E" in "Extensions"
> need to be uppercase?
>
> Also do I need to register this directory in the main configure.zcml?
>
> If so, what would be the syntax of this ZCML registration?
>
> Sorry if this is rather basic stuff, but any pointers will be very useful!
>
> Cheers, Jim
>
--
View this message in context: http://plone.293351.n2.nabble.com/Creating-a-Plone-4-product-to-hold-an-External-Method-tp7073836p7074770.html
Sent from the Product Developers mailing list archive at Nabble.com.
More information about the Product-Developers
mailing list