[Templates] Problems with a block

Bill Ward bill at wards.net
Tue Jul 22 18:38:41 BST 2008


I thought the BLOCK had to occur before it was called.

On Tue, Jul 22, 2008 at 9:19 AM, Tosh, Michael J
<michael.j.tosh at lmco.com> wrote:
> No help?  No suggestions?
> ________________________________
> From: templates-bounces at template-toolkit.org
> [mailto:templates-bounces at template-toolkit.org] On Behalf Of Tosh, Michael J
> Sent: Wednesday, July 16, 2008 2:44 PM
> To: templates at template-toolkit.org
> Subject: [Templates] Problems with a block
>
> I am getting:
> File error - a_comment not found
> When I try to PROCESS a_comment, which is later defined within a BLOCK in
> the same file.
>
> Interesting thing is that this error only occurs on the command line, but
> not in a cgi using the same template.  Is there a setting to control if
> BLOCKS are processable?
>
> Thanks,
> Mike
>
> _______________________________________________
> templates mailing list
> templates at template-toolkit.org
> http://mail.template-toolkit.org/mailman/listinfo/templates
>
>



More information about the templates mailing list