[Zope] Compilation failed

Jens Vagelpohl jens@zope.com
Thu, 5 Sep 2002 15:04:41 -0400


you cannot use DTML tags inside page templates.

jens


On Thursday, Sep 5, 2002, at 14:21 US/Eastern, sim wrote:

> I am trying to save this page template but it keeps giving me this=20
> error. =A0I don=92t see any html error.=A0 Here=92s the error message:
>
> =A0
>
> Compilation failed
>
> TAL.HTMLParser.HTMLParseError: EOF in middle of construct, at line 7,=20=

> column 5
>
> =A0
>
> And here is my code.
>
> =A0
>
> <html>
>
> <head>
>
> <title tal:content=3D"template/title">The title</title>
>
> </head>
>
> <body><p>
>
> <table border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
>
> <tr><td colspan=3D"100%> <img src=3D"images/header.jpg" width=3D"760"=20=

> height=3D"122"> </td></tr>
>
> <tr>
>
> =A0<td><dtml-var 4golf_menu></td>
>
> =A0<td>testing content </td>
>
> </tr>
>
> </table>
>
> <dtml-var standard_html_footer>
>
> </p>
>
> </body>
>
> </html>
>