thankyouthankyouthankyouthankyouthankyouthankyouthankyouthankyouthankyouthan
kyouthankyouthankyou
this is exactly what I wanted. It's so simple, I apologise profusely for
not thinking of it myself.
Ta muchly
Toby
Toby Tremayne
Code Poet and Zen Master of the Heavy Sleep
Show Ads Interactive
359 Plummer St
Port Melbourne
VIC 3207
P +61 3 9245 1247
F _61 3 9646 9814
ICQ UIN 13107913
-----Original Message-----
From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 24 January 2001 2:01 PM
To: Fusebox
Subject: RE: frames and cf_bodycontent
>
> I've implemented frames in fusebox. I need to use cf_bodycontent. I also
> NEED to have a body tag in my header. These things are mutually
> exclusive -
> so can anyone tell me how I can get around this please?
>
for each fuseaction that either builds a frameset or which populates the
individual frames for which you do NOT want bodycontent to do its stuff, do
something like:
<CFCASE VALUE="loadFrameset">
<cfset request.page.headerfile="">
<cfset request.page.footerfile="">
<cfset attributes.XFA = "welcome">
<CFINCLUDE template="fra_mainframeset.cfm">
</CFCASE>
or however you load your frame set. If some of the framesources do need a
header/footer but not the one that your main content area uses, well you can
just have other files and use those -- for example to use special files for
the top frame it might look like:
<CFCASE VALUE="loadTopFrame">
<cfset request.page.headerfile="dsp_topframeheader.cfm">
<cfset request.page.footerfile="dsp_topframefooter.cfm">
<CFINCLUDE template="dsp_topframe.cfm">
</CFCASE>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists