Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
----- Original Message -----
From: cfhelp
To: CF-Talk
Sent: Friday, November 07, 2003 8:12 AM
Subject: RE: Just Wondering Why
As a practice I try and make each template self contained (You can open it
with the browser by its self). All Queries, Set Params and output all in
one file. Makes troubleshooting easier and reusable code.
Rick
_____
From: Kwang Suh [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 1:17 AM
To: CF-Talk
This behaviour is not specific to fusebox. CF just works this way.
included templates are not automatically parsed. You have to have
<cfoutput> tags in the included page.
-----Original Message-----
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: November 6, 2003 8:52 PM
To: CF-Talk
Subject: Just Wondering Why
Hello All,
Sorry if this is a novice question. I am trying to learn fusebox and find
my self making smaller templates and and more includes (which I guess is
good I haven't decided yet)
My question is this. Lets say that the value of myvariable is "house"
So when I do this
<cfoutput>
#myvariable#
</cfoutput>
I get an output of house
But when I do this
<cfoutput>
<cfinclude template="dsp_myvariablepage.cfm"> (dsp_myvariablepage.cfm's
content is #myvariable# )
</cfoutput>
I get #myvariable# instead of house. If include the template and the
content is #myvariable# would it not be in between the two cfoutputs once it
is included?
Sorry if this question is basic, just trying to understand it.
Thanks
Mike
_____
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

