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]

Reply via email to