[Zope] Zopehome in ZPT

Andre Meyer meyer at acm.org
Tue Jan 6 05:37:55 EST 2004


Dear Zopistas

How can I display the installation path of Zope in a ZPT page. Something like this should do the trick (but it doesn't):

...
<form action="." method="post">
    <input type="text" name="filename" value="" tal:attributes="value $ZOPEHOME/lib/python/Products"/>
    <input type="submit" name="importFile:method" value="import file"/>
</form>
...

Any ideas or hints?

Thanks and best wishes
Andre

PS Maybe a "Browse..." button would be nice in addition to this if somebody has an example (JavaScript?).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040106/a80a1f3f/attachment.html


More information about the Zope mailing list