This is an issue that has come up several time while building containers in  
HTML widget sets for various projects (but which I haven't yet figured out for 
 myself) so I thought I would ask the list.
 
Is there any way to create a MACRO that can be used as a WRAPPER? For  
example, it would be nice to be able to:
 
[% BLOCK panel %]<div>[% content %]</div>[% END %]
[% MACRO panel WRAPPER panel %]
 
and then:
[% panel %]
Content here.
[% END %]
 
but that doesn't work, since the parser requires the WRAPPER in the MACRO  to 
be properly ENDed.
 
Of course, the solution doesn't have to be a MACRO/WRAPPER, but so far I  
haven't had luck finding *any* way to create a container-like syntax (barring  
hacking on the Template source itself).
 
Thanks for any help you can provide,
Brad
**************Plan your next getaway with AOL Travel.  Check out Today's Hot 
5 Travel Deals! 
(http://pr.atwola.com/promoclk/100000075x1212416248x1200771803/aol?redir=http://travel.aol.com/discount-travel?ncid=emlcntustrav00000001)
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to