I just spent a morning tracking this down: My template typically PROCESSes header.inc, then the main content, then INCLUDEs copyright.inc.
header massages a data file and produces all my nav links. But for my error page I did something different and processed the data file differently to make a complete site map. This used a lot of the code that was in header.inc. Anyway: I found out the hard way that if header.inc defines BLOCK foo and then the template also defines BLOCK foo, it is the FIRST definition that wins. The fix was simple: rename them in the special purpose template. Wait: It may matter where I define them. The redefinitions were at the bottom of the file. Anyway, maybe this will save someone some grief. Respectfully, Sherwood of Sherwood's Forests
_______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates