I am using Metadot Portal Software, which is running TT 2.15. And yes, the exact code I gave you fails. I've contacted the metadot support center but with little success.
Thanks, Matt >>> Josh Rosenbaum <[EMAIL PROTECTED]> 7/13/2007 1:10 PM >>> Matt DeLeon wrote: > 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? What version of TT are you using and are you using any custom TT code? Does the exact code you gave us fail? -- Josh 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
