I think that�s what I just said isn�t it? Why use one in every directory if
they are just including the one in the root and all end up with the same
settings.

   _____  

From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 3:37 PM
To: CF-Talk
Subject: RE: cfinclude application.cfm

That's not true.  The app goes up directories and uses the first one it
finds.. It doesn't keep going.

John

-----Original Message-----
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 3:27 PM
To: CF-Talk
Subject: RE: cfinclude application.cfm

Unless there are some different settings in each application.cfm I don't
see a need for it. The one in the root is included in all of the others
automatically. So basically an application.cfm in /root/subdir with only
<cfinclude template="../Application.cfm"> is pointless right?

   _____  

From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 3:16 PM
To: CF-Talk
Subject: Re: cfinclude application.cfm

This setup is the BOMB!!

The root of your application has Application.cfm, and then every sub
application has it's own Application.cfm, of which the first line is
<cfinclude template="../Application.cfm" />.  You can store all your
global stuff in the root Application.cfm, and keep all the subapp stuff
segregated.

I'm a Fusebox guy, so I usually do this kind of thing with per-circuit
settings files, but I've got a couple applications that are composed of
multiple separate fuseboxes (for various reasons), so the
Application.cfm trick is very handy.  For non-Fusebox applications, it
would be even more valuable.

cheers,
barneyb

On Fri, 01 Oct 2004 15:02:41 -0400, Bob Flynn
<[EMAIL PROTECTED]> wrote:
> I'm in a CFMX certification study group and we just ran across a
> reference
to of using CFINCLUDE in your application.cfm file to bring in a
different application.cfm file. The example given was that you might do
it use one application.cfm as kind of a common library of variables that
would be pulled into the local application.cfm where some
section-specific variables are set.  It sounds pretty nifty in theory. I
am wondering if any out there has put this into practice and what, if
any, issues you have encountered.
Can you overwrite a variable with the local applciation.cfm file? Does
placement of the include matter? Any experiences and recommendations
would be greatly appreicated.
>
> Bob
>
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com

I currently have 4 GMail invites for the taking

   _____  

[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=t:4"Todays
Threads] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=i:4:180299"This
Message] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=s:4"Subscription]
[HYPERLINK
"http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4"Fa
st
Unsubscribe] [HYPERLINK "http://www.houseoffusion.com/signin/"User
Settings] [HYPERLINK
"https://www.paypal.com/cgi-bin/webscr?amount=&item_name=House+of+Fusion
&bus
iness=donations%40houseoffusion.com&undefined_quantity=&cmd=_xclick"Dona
tion
s and Support]

   _____  

HYPERLINK "http://www.houseoffusion.com/banners/view.cfm?bannerid=34" \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004

   _____  

[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=t:4"Todays Threads]
[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=i:4:180304"This
Message] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=s:4"Subscription] [HYPERLINK
"http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4"Fast
Unsubscribe] [HYPERLINK "http://www.houseoffusion.com/signin/"User Settings]
[HYPERLINK
"https://www.paypal.com/cgi-bin/webscr?amount=&item_name=House+of+Fusion&bus
iness=donations%40houseoffusion.com&undefined_quantity=&cmd=_xclick"Donation
s and Support]

   _____  

HYPERLINK "http://www.houseoffusion.com/banners/view.cfm?bannerid=40" \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to