Hi, I am totally new to HTML::Template so kindly bear with me. I already tried seeking out an answer to this question but could not find one. This seems a trivial question but for a newbie like me, it might as well be the ultimate conundrum!
I have 2 static HTML template files called top_screen.tmpl and bottom_screen.tmpl that I wish to include in every other template file. I tried a static inclusion to see if I got a hang of the situation but that simply does not work. I only get to see the "middle" page without the header and the footer. I am pasting below the 3 files I used top_screen.tmpl -----------------------------------------------------------------------<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- saved from url=(0034)http://www.uc.edu/softwareinstall/ --> <!--- top header included in another file---><HTML><HEAD><TITLE>UCit - Software Distribution</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK href="images/main.css" rel=stylesheet> <META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD> <BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"> <TABLE cellSpacing=0 cellPadding=0 width=800 border=0> <TBODY> <TR> <TD colSpan=3><IMG alt="" src="images/banner_left_middle.gif" border=0><IMG alt="" src="images/banner_software.gif" border=0><IMG alt="" src="images/banner_right.gif" border=0></TD> </TR> <TR> <TD width=616> <TABLE cellSpacing=0 cellPadding=0 width=616 align=left border=0> <TBODY> <TR> <TD width=48><IMG height=37 alt="" src="images/menu_left_middle.gif" width=48 border=0></TD> <TD align=right width=68><IMG height=37 alt="" src="images/menu_right.gif" width=68 border=0></TD></TR></TBODY></TABLE></TD> </TR> </TABLE> </TD> </TR> </TBODY> </TABLE> ----------------------------------------------------------------------- bottom_screen.tmpl ----------------------------------------------------------------------- <TABLE cellSpacing=0 cellPadding=0 width=800 border=0> <TBODY> <TR> <TD colSpan=4><BR><IMG height=49 src="images/footer.gif" width=800 useMap=#footer border=0></TD></TR> </TBODY> </TABLE> <!-- <MAP name=footer><AREA shape=RECT alt=Search coords=34,8,95,39><AREA shape=RECT alt="Site map" coords=108,8,188,39> <AREA shape=RECT alt="Contact us" coords=202,8,293,39 href="http://www.ucit.uc.edu/contactus.asp"> <AREA shape=RECT alt="UCit home" coords=305,8,402,39 href="http://www.ucit.uc.edu/"> </MAP>--> </BODY> </HTML> ----------------------------------------------------------------------- Index.tmpl ----------------------------------------------------------------------- <TMPL_INCLUDE top_screen.tmpl> <TABLE cellSpacing=0 cellPadding=0 width=800 border=0> <TBODY> <TR><TD> <TABLE cellSpacing=0 cellPadding=0 width=616 align=left border=0> <TBODY> <TR> <TD align=center width=490><BR><H3>Welcome to the Software Distribution System</H3> </TD> </TR> <TR> <TD align=center width=490><BR><a href="Data Entry Module/data_entry1.html" >Click here to go to the Data Entry Module</a> </TD> </TR> <TR> <TD align=center width=490><BR><a href="Administration Module/main_admin_screen.html" >Click here to go to the Administration Modul e</a> </TD> </TR> <TR> <TD align=center width=490><BR><a href="" >Click here to go to the Reports Module</a> </TD> </TR> <TR> <TD align=center width=490><BR><a href="" >Click here to go to the Search Module</a> </TD> </TR> </TBODY> </TABLE> </TD></TR> </TABLE> <TMPL_INCLUDE bottom_screen.tmpl> ----------------------------------------------------------------------- Please note that I have individually tested these screens with a .html extension and they appeared OK. If you want to test these out, you wont get any of the images and I am sorry about that. I dont wish to include the images and bloat this post as those are not germane to this discussion. Any help is appreciated. Does HTML::Template also need SSI(server-side-include) enabled on Apache?. Is that why this might not be working? Thanks, Sharad __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users