[Zope] DTML "method"?

Kevin Dangoor kid@kendermedia.com
Fri, 28 Jan 2000 17:28:14 -0500


----- Original Message -----
From: "Glyph Lefkowitz" <glyph@twistedmatrix.com>
To: <zope@zope.org>
Sent: Friday, January 28, 2000 5:04 PM
Subject: [Zope] DTML "method"?


> My site has four sections.  I want to have a 'section' dtml method that
> takes a name and a description, that I call like this:
>

Generally, you pass in _.None and the namespace as the first two parameters,
followed by the remainder of your parameters.

<dtml-var "section-header(_.None, _,
name='Authors', description='''
Go here for an in-depth description of what's required to become an
author, licensing agreements, and the Authoring section (requires
password)
''')"

Kevin