[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Using Basic
Zope Objects
webmaster at zope.org
webmaster at zope.org
Tue Oct 19 15:13:03 EDT 2004
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/BasicObject.stx#3-60
---------------
Before you can use an External Method from within Zope, you need
to create an External Method object in your Zope Management
Interface that "refers to" the function in the file that you
just created. Reopen your browser window and visit the Zope
Management Interface. Navigate to the Sales folder and select
*External Method* from the Add list. The Add Form for an
Exernal Method will appear. Provide an 'Id' of "SalesEM", a
'Title' of "Sales External Method", a 'Module Name' of "SalesEM"
and a 'Function Name' of "SalesEM".
% pratyush - June 4, 2004 5:42 am:
I tried to "add" SalesEM, but got the following error:
The specified module, SalesEM, couldn't be found. (Also, an error occurred while attempting to render the
standard error message.)
and this is bit a bit difficult so plz do give some examples
% Anonymous User - Aug. 14, 2004 3:38 pm:
This works a little different in Plone2. I'm running Plone2 on a Mandrake Linux system, installed from RPMs,
and the correct place to put the External methods is: /var/lib/plone2/main/Extensions
This in spite of the fact that there is also a /etc/plone2/skel/Extensions/ directory containing a Readme.txt
saying[incorrectly] that /etc/plone2/skel/Extensions/ is the place for external methods.
% Maoz - Sep. 15, 2004 6:52 pm:
On Gentoo the correct path for External Methods (zope 2.7.2) is /var/lib/zope/zope-2.7.2/Extensions/ ;)
% Anonymous User - Oct. 19, 2004 3:13 pm:
Mis-spelled External Method in the last second sentence. Originally mis-spelled it to exernal method.
More information about the ZDP
mailing list