You have several ways of doing it:
either use the omit-tag Tal attribute, or use tal-replace if you don't want the 
tag, or use an tag in the tal namespace like <tal:block content=...
or use a macro to include something from a child template, or event create a 
content-provider

Christophe

----- Reply message -----
De : "Tamer Higazi" <[email protected]>
Date : mer., juin 30, 2010 23:48
Objet : [BlueBream] zope templating
PourĀ : <[email protected]>

Hi people!
Question, is there anyway to use the ZTPL to create content on the fly
whereever in the document? Or will I ALWAYS have to set the tal
attribute in a tag.

for me specially usefull to decide generating JS code and take out
certain segments of a document if I want to.



Tamer
_______________________________________________
bluebream mailing list
[email protected]
https://mail.zope.org/mailman/listinfo/bluebream
_______________________________________________
bluebream mailing list
[email protected]
https://mail.zope.org/mailman/listinfo/bluebream

Reply via email to