[Zope] Stupid Newbie ZPT question...

seb bacon seb@jamkit.com
27 Mar 2002 11:37:32 +0000


There is a ZPT list for ZPT questions, FYI.

There are two answers to your question:

1) <span tal:replace="structure here/thingumy"></span>

2) Use macros, that's what they are for

seb

On Wed, 2002-03-27 at 11:01, Philip Kilner wrote:
> Hi All,
> 
> I'm playing with ZPT, and am stuck on the simplest thing - how to 
> include another file inside my template!
> 
> Imagine the navigation examples in 2.50, but with a diet sheet for each 
> animal in a document called "diet_html" in each folder. How do I 
> include this document in the content of the page rendered for the 
> folder? I've experimented with "content" and "replace", and am clearly 
> getting the syntax badly wrong...
> 
> Regards,
> 
> PhilK
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )