[ZPT] Zope newbie question on accessing DTML Methods from ZPT
Chris Withers
chrisw at nipltd.com
Fri May 30 16:02:43 EDT 2003
Evan Simpson wrote:
> Tom P. Allred wrote:
>
>> If I replace div with span it will compile but when I Test it it displays
>> the html code for the subfolder listing but does not render it.
>
> <div> implicitly closes <p>, so stick with <span>. Your final problem
> can be solved thusly:
You could also use 'neutral tags':
<metal:x use-macro="container/macrosdoc.zpt/macros/page2">
<metal: fill-slot="body">
Just something to print
<tal:x replace="structure here/navigation"/>
</metal:x>
</metal:x>
cheers,
Chris
More information about the ZPT
mailing list