I might be totally missing something here, but i'd like to do
something only if a file exists. Now, this kind of works:
        
[% TRY %]
<TD VALIGN="TOP" WIDTH="100" bgcolor="#f0f0f0"> 
   [% INCLUDE "$dir/nav.html" %] &nbsp; 
</TD>
[% CATCH %] 
<!-- [% error.info %] -->
[% END %]


But the opening <TD> gets output anyway. Any ideas?

Ta,

Dave

-- 
David Hodgkinson, Wizard for Hire        http://www.davehodgkinson.com
Editor-in-chief, The Highway Star           http://www.deep-purple.com
Deep Purple Family Tree news                  http://www.slashrock.com
   Interim Technical Director, Web Architecture Consultant for hire


Reply via email to