Hi Will,

I _think_ what your asking is about including templates within your
templates... and yes, you can. Using

<TMPL_INCLUDE NAME=/path/to/file.tmpl>

HTML::Template doesn't care about your HTML syntax, it only cares about your
H::T syntax, so, yes you can span tables across your templates, and such.

I do that with my headers and footers. In the header, I print the logo of
the site and navbar, and then open a <td>... then in the footer I close that
td and the rest of the table. So in my main template, I have something like:

------ policies.tmpl -------
<TMPL_INCLUDE NAME=header.tmpl>

<!-- whatever HTML I want for this page -->

<TMPL_INCLUDE NAME=footer.tmpl>
---------- end ---------------

Kenny Smith
JournalScape.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to