We have a global layout which we use throughout the site.  That layout is
just the main table structure used in the site.  It has header, trailer, and
left menu variables in the place of files for cfinclude.  In the individual
circuit indexes each case sets a file to use for those parts of the page
although we do have defaults set up.  It's been great so far though.  Global
files like the navigational toolbar and our search engine are held in a
global utility folder and just included in the dsp_head.cfm documents.
Making site-wide changes has been very easy so far.

-Brian Doyle

-----Original Message-----
From: Brad Roberts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:02 PM
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.

Reply via email to