>
> 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