Hi all,

I have been attempting to include a block that has been defined with my 
template, but I am constantly receiving an error message saying that the file 
of the name of the block cannot be found.  To illustrate:

[% BLOCK someblockname %]
...
[% END %]

[% INCLUDE someblockname %]

Produces the following error:
ERROR! Type: file Info: header: not found

Refreshing the page a few times seems to solve the problem, but clearly that is 
not the solution.  It is as if sometimes TT looks for the file 'someblockname' 
and other times it loads the BLOCK 'someblockname'.  This has happened with 
several different blocks, so I am pretty sure it has nothing to do with the 
code in the BLOCK.  I have tried to use PROCESS instead of INCLUDE with no 
success.  Any thoughts on what is happening and if this problem can be 
eliminated?

Thanks,
Matt

This e-mail and any attachments may contain
confidential and privileged information. If you are
not the intended recipient, please notify the sender
immediately by return e-mail, delete this e-mail
and destroy any copies. Any dissemination or use
of this information by a person other than the
intended recipient is unauthorized and may be
illegal. Unless otherwise stated, opinions expressed
in this e-mail are those of the author and are not
endorsed by the author's employer.


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to