[Zope] Writing custom tags "through the web"

Jonothan Farr jfarr@real.com
Wed, 7 Feb 2001 11:52:40 -0800


The only way I know of adding custom tags is:

from DocumentTemplate.DT_String import String
String.commands['mytag']=MyTagClass

(I took this example from TreeDisplay/TreeTag.py.)

I don't know if you can do this with PythonMethods (or PythonScripts or whatever
they're calling them these days).

--jfarr

----- Original Message -----
From: "ender" <kthangavelu@earthlink.net>
To: "Gerald Gutierrez" <pozix@home.com>; "Zope mailing list" <zope@zope.org>
Sent: Wednesday, February 07, 2001 12:26 PM
Subject: Re: [Zope] Writing custom tags "through the web"


> On Wednesday 07 February 2001 09:19, Gerald Gutierrez wrote:
> > I've found custom tags invaluable in my daily J2EE use, and would like to
> > do the same with Zope. I'd like to be able to do it like everything else I
> > do with zope, through the web browser interface.
> >
> > Unfortunately, the only documents I've found relating to custom tags tell
> > me that I must modify the Zope source code and write these tags as
> > filesystem products or classes.
> >
> > Is there no way to write custom tags through the web in Zope?