[Zope] #include with DocumentTemplate?

Randall F. Kern randy@spoke.net
Thu, 3 May 2001 17:36:59 -0700


>From you original mail I think you've just pulled the DocumentTemplate
module from Zope, and are using it in your own Python CGI.

Assuming that's the case, you need to write a dtml-include tag to do
this.  It'll be pretty easy, but one doesn't exist out of the box, at
least not that I've ever found.

-Randy

> -----Original Message-----
> From: Andy McKay [mailto:andym@ActiveState.com]
> Sent: Thursday, May 03, 2001 5:34 PM
> To: zope@zope.org; Lance E Sloan
> Subject: Re: [Zope] #include with DocumentTemplate?
>=20
>=20
> > I'm writing some CGIs in Python and I borrowed the DocumentTemplate
>=20
> So you aren't using Zope and the ZODB in a traditional way.=20
> This is just
> importing the DocumentTemplate in a python CGI script? If its=20
> the latter I
> dont know...
>=20
> Cheers.
> --
>   Andy McKay.
>=20
>=20
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>=20