Hey Brad,
I haven't looked at Fusebox for a while, but I used to use a method similar to it. As
far as the seperating of headers and footers, I do it whenever I can. It makes it FAR
easier to
maintain the code. Find and replace is great, but I find a simple change in one place
is even better :o)
my 2 cents.....
Brad Roberts wrote:
> 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.
--
Bryan Stevenson
Electric Canvas Technologies
Inter/Intranet Development
www.ecanvas.com
[EMAIL PROTECTED]
(250) 920-8830
-------------------------------------------
Allaire Alliance Partner
www.allaire.com
------------------------------------------------------------------------------
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.