[ZPT] calling a python script from ZPT
Kenneth Gonsalves
lawgon at thenilgiris.com
Fri Jul 1 09:18:12 EDT 2005
hi
i have a python script called getnames
i call it like this
<p tal:repeat="results python:context.getnames(table=tablename)">
now this script is in ploneroot/mainpage
if i call this from the mainpage folder or any sub folder there is no
problem. But i want to call it from somewhere else in the site
i tried:
python:${plone_url}.mainpage.getnames()
and
python:${plone_url}/mainpage/getnames()
but both dont compile - any clues?
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
More information about the ZPT
mailing list