Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Recursive template parsing?

Quote Reply
Recursive template parsing?
Does GT::Template do recursive parsing of template tags?

E.g.

This is in a template: <%dbase_field%>

$dbase_field = "Hello, this is the contents of this field in the database. Also there is a <%img_field%> template tag in this field, will it be parsed?";

Thanks.
Quote Reply
Re: [scorpioncapital] Recursive template parsing? In reply to
Short answer.... No. I don't think so.

<%include ...%> files are parsed, but tags themselves are not. You'd have to send the tag to a global, and send it out as a string to be parsed in order for it to happen, and then return that parsed string to the template originally called.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.