I know I probably should not have been so ashamed to say something...but I
thought I might be the only one who realized that there are two version of
cf_bodycontent out there and that some people new to fusebox may not realize
this...nor realize what the difference between the two really means to your
development process.  But SR...this is true and Marc is correct...the latest
version (2.0) of cf_bodycontent does not "require" app_layout.cfm...though
in any case can be adapted to meet your needs.  If you are in the process of
learning how fusebox fits all the pieces together, make sure you have the
latest version of the code and look at the tags themselves...they really
explain alot.

-----Original Message-----
From: Marc Gadsdon [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 04, 2001 3:34 PM
To: Fusebox
Subject: RE: First Fusebox site


Hi SR,

It seems to me that there is a version problem with cfbodycontent on
www.fusebox.org. The one on the site does not, as the book suggests, have
the functionality of app_layout.cfm incorporated into it. Therefore to make
your code work you will need to cfinclude a file called app_layout.cfm, or
manually update cfbodycontent.cfm using the code from page 48 of the Fusebox
book.

Marc

-----Original Message-----
From: S. R. [mailto:[EMAIL PROTECTED]]
Sent: 04 February 2001 16:12
To: Fusebox
Subject: First Fusebox site


hey guys, working on my first fusebox site and reading Steve's book at the
same time..

I've developed a simple index.cfm file below  but it displays nothing. If I
take out the bodycontent tag it displays correctly. Is there something I'm
not getting?

 <cfinclude template="app_globals.cfm">

<cf_bodycontent>
 <cfparam name="attributes.fuseaction" default="">
 <cfswitch expression="#attributes.fuseaction#">
  <cfdefaultcase>
   <cfinclude template="dsp_homepage.cfm">
  </cfdefaultcase>
 </cfswitch>
</cf_bodycontent>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to