Steve Alexander wrote:
>
> The PythonScripts product could add these functions to the _ namespace
> variable at product init time, so there would be no need to change the
> DocumentTemplate modules.
And here's a patch:
Just add these lines at the end of
lib/python/Products/PythonScripts/standard.py
from DocumentTemplate.DT_Util import d
import standard
d['standard']=standard
del standard
Of course, you could add similar lines to PythonScripts/__init__.py, or
in a completely new "enable python scripts standard module with dtml"
product.
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
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 )