Yep. I use CFINCLUDES to include a common header and footer for all the apps
on my site. That way, if I wanna change the layout, I do it once, and
ka-pow, the rest iz history.
Alan McCollough
Web Programmer
Alaska Native Medical Center
> -----Original Message-----
> From: Brad Roberts [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, August 08, 2000 11:02 AM
> To: Fusebox List
> Subject: header.cfm and footer.cfm
>
> Does anyone break apart your header and footer content into two files?
>
> Such as:
>
> <!--------------------------- dsp_Header.cfm -->
>
> <HTML>
> <HEAD>
> <TITLE>My Title</TITLE>
> </HEAD>
> <BODY>
>
> <!--------------------------- dsp_Top.cfm -->
>
> <TABLE width="100%" cellspacing="0" cellpadding="0" border="0">
> <TR>
> <TD>
> My Header
> </TD>
> </TR>
> <TR>
> <TD>
>
> <!--------------------------- dsp_Bottom.cfm -->
>
> </TD>
> </TR>
> <TR>
> <TD>
> Credits
> </TD>
> </TR>
> </TABLE>
>
> <!--------------------------- dsp_Footer.cfm -->
>
> </BODY>
> </HTML>
>
> Would this make it easier to include the dsp_header.cfm (which may never
> change) and optionally include the dsp_top.cfm and dsp_bottom.cfm?
>
> The reason I ask is because I have a site where the header and footer may
> change from page to page. Instead of duplicating everything between the
> <html> and <body> tags over and over in different header files, would it
> make more since to separate it into one file all together?
>
> I know that you would have to change app_layout.cfm to include the
> dsp_top.cfm and bottom.cfm, but it could work.
>
> Has anyone done something different? I'd like to see some other methods.
>
> Thanks,
>
> Brad Roberts
>
> --------------------------------------------------------------------------
> ----
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.