This worked great.
The main reason is that I wanted it to work with something that already exists.
I am putting up a placeholder site and using components from another
site/application. All this will be redone in a few months and it will be it's
own application then.
>
>
>
>
>
>Adrian
erm, maybe i've not understood, but if you set a variable in your
include then it will exist after the include?
Testinclude.cfm
#isdefined("page_location")#
#isdefined("page_location")#
---
departname_name.cfm
#myvar#
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 10:43 AM
To: CF-Talk
Subject: including into a cfset
okay, I'm sure this is cause I'm just not thinking
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 10:43 AM
To: CF-Talk
Subject: including into a cfset
okay, I'm sure this is cause I'm just not thinking right this
Subject: RE: including into a cfset
Dude,
Just set the variable name into an application-level variable:
.. Then use
. Or something to that effect. No need to keep it in a file.
Ben Nadel
www.bennadel.com
Certified Advanced ColdFusion Developer
Need Help
I would just go back to bed. :)
Just kidding...
I'm not quite sure why you don't just set that string in a variable and
simply output the variable as opposed to including an entire file just
for three words.
The proper syntax for what you had would be:
">
But I really doubt that is what you wan
Not sure about your reasons, but you can do:
Adrian
-Original Message-
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: 05 September 2006 15:43
To: CF-Talk
Subject: including into a cfset
okay, I'm sure this is cause I'm just not thinking right this
morning, but I've s
Dude,
Just set the variable name into an application-level variable:
. Then use
Or something to that effect. No need to keep it in a file.
...
Ben Nadel
www.bennadel.com
Certified Advanced ColdFusion Developer
Need Help?
www.bennadel.com/ask-ben/
-O
8 matches
Mail list logo