[Templates] sharing blocks on multiple pages
Bill Moseley
moseley at hank.org
Thu Oct 25 05:25:25 BST 2007
On Wed, Oct 24, 2007 at 10:27:15AM -0700, Dustin Frazier wrote:
> And then in, say, us.tt2:
>
> [% WRAPPER donate_page country = "United States" %]
> [% INCLUDE donate_cc %]
> [% INCLUDE donate_pp %]
> (other stuff)
> [% END %]
>
> When I try this, I get an error saying that the "donate_cc" block
> can't be found.
Are these blocks used very often? In addition to what Andy said could
you also use a PRE_PROCESS to load those blocks?
--
Bill Moseley
moseley at hank.org
More information about the templates
mailing list