Mailing List Archive

Template Toolkit Wrapper Templates
Just a quick note to say that the API documentation relating to Template
Toolkit wrapper (or category) template example uses the following
variable to include content:

[% CONTENT %]

It should actually be:

[% content %]

It took me a while to realise that the upper case version doesn't work,
and that I am (probably) not going crazy :-)

See the Category Template Example section here:
http://bricolagecms.org/docs/current/api/Bric::Templates



Regards,

Mike
Re: Template Toolkit Wrapper Templates [ In reply to ]
On May 19, 2011, at 3:18 AM, Mike Raynham wrote:

> Just a quick note to say that the API documentation relating to Template Toolkit wrapper (or category) template example uses the following variable to include content:
>
> [% CONTENT %]
>
> It should actually be:
>
> [% content %]
>
> It took me a while to realise that the upper case version doesn't work, and that I am (probably) not going crazy :-)
>
> See the Category Template Example section here:
> http://bricolagecms.org/docs/current/api/Bric::Templates

Thanks Mike. Would you report this bug, please?

http://bricolage.lighthouseapp.com/

Thanks,

David