At Thursday 3/8/2006 20:14, John P. Looney wrote:

Hey, I've made my first page, though it's not working as I'd like. This is the contents of the page:

<title> testing</title>
 Going ! <b>asdasda </b> <br>
<dtml-var date fmt=Date><br>

Page Templates are easier to use instead of DTML.

File "/tmp/Zope-3.2.1/build/lib.linux-i686-2.4/zope/documenttemplate/", line 207, in render
    raise KeyError(name)
KeyError: u'date'

Any idea what I could be doing wrong ? No dtml tag I use seems to work - all throw an error.

This error says that there is nothing known as "date".
Have you defined it anywhere?
If you just want to show the current date, try:

<dtml-var expr="DateTime()">

Gabriel Genellina
Softlab SRL

Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to