OR, you could use Steve's CF_BODYCONTENT tag, and maintain
that handy-dandy Attributes.Fuse_Root variable.  That works
really well, too.

__
 Erik Voldengen     6740 N Oracle Road, Ste 100
 Lead Developer     Tucson, Arizona 85704
 HMweb              520-742-2611 ext. 111
                    www.HMweb.com
                    


> -----Original Message-----
> From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 15, 2000 12:50 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: cfinclude
> 
> 
> Use CFINCLUDEs to get your 'top' and 'bottom' templates. Say 
> you have a
> variable "application.website_dir" that equals the relative 
> path of your
> app. Now, lets say you have a subfolder in your app's 
> directory, and this
> subdirectory is "blocks".
> 
> Now, down in your circuit directory, oh, call it "admin", you are in
> index.cfm, but want to pull out those templates in the 
> "blocks" directory.
> It would look like dis'.
> 
> <cfcase value="squid">
>       <cfinclude 
> template="#application.website_dir#/blocks/dsp_top.cfm">
>       <cfinclude 
> template="#application.website_dir#/admin/dsp_squid.cfm">
>       <cfinclude
> template="#application.website_dir#/blocks/dsp_bottom.cfm">
> </cfcase>
> 
> That oughtta work; it works for me...
> 
> Alan McCollough
> Web Programmer
> Allaire Certified ColdFusion Developer
> Alaska Native Medical Center
> 
> > -----Original Message-----
> > From:       Dan Donnick [SMTP:[EMAIL PROTECTED]]
> > Sent:       Friday, September 15, 2000 8:48 AM
> > To: [EMAIL PROTECTED]
> > Subject:    cfinclude
> > 
> > I have a question,
> > 
> > I have a application that works with sub applications but I 
> want the sub 
> > apps to share the same top and bottom files as the main 
> app.  When I set a
> > 
> > fuseaction to call one of the sub apps, it includes the top 
> file but not 
> > the bottom file.  I don't include the top or bottom file in 
> the index file
> > 
> > of the sub app.  What is a way to ensure I get both the top 
> and bottom 
> > files for the sub apps to show?
> > 
> > Thanks,
> > 
> > dan
> > ______________________________
> > 
> > Dan Donnick
> > Cold Fusion Developer
> > Bixler Incorporated
> > 1250 24th Street
> > Suite 250
> > Washington, DC 20037
> > 
> > Phone:   (202) 686-5800
> > Fax:       (202) 686-5801
> > Email:    [EMAIL PROTECTED]
> > ______________________________
> > 
> > 
> --------------------------------------------------------------
> ------------
> > ----
> > 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.
------------------------------------------------------------------------------
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