External methods in Extensions folder under Product
Hi, I currently have my external methods under the Extensions folder within the Zope installation (i.e. /usr/local/Zope/Extensions ). I read that I could place them in Extensions folders within specific installed products. I'd much prefer that, but can't seem to get it working. What I did: I have a product I created through the management interface called "myproduct". I created a directory on the files system like this... /usr/local/Zope/lib/python/Products/myproduct/Extensions Inside there I put my test.py module, and try to add it as an external method to that product. I get a message that test.py can't be found. If I put it in the general Extensions folder for the Zope install, all is well. Any ideas? thanks, Ted
where it says "Module" in the external method edit screen you need to say <myproduct>.<modulename> and not just <modulename> jens On Monday, April 15, 2002, at 02:56 , Ted Skolnick wrote:
Hi, I currently have my external methods under the Extensions folder within the Zope installation (i.e. /usr/local/Zope/Extensions ). I read that I could place them in Extensions folders within specific installed products. I'd much prefer that, but can't seem to get it working.
What I did: I have a product I created through the management interface called "myproduct". I created a directory on the files system like this... /usr/local/Zope/lib/python/Products/myproduct/Extensions
Inside there I put my test.py module, and try to add it as an external method to that product. I get a message that test.py can't be found. If I put it in the general Extensions folder for the Zope install, all is well.
Any ideas?
thanks, Ted
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (2)
-
Jens Vagelpohl -
Ted Skolnick