The cfoutput block wrapped around your cfinclude will not output variables
inside the included file. You'll need a cfoutput in there as well.

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 21, 2005 10:02 AM
To: CF-Talk
Subject: Include wrapped in Output?? Huh??


WTF?

Ok, why the hell isn't this working?

On the page in question:

<cfoutput>
   <cfinclude template="includes/form-id-email.cfm">
   Somethng else: #another.variable#
</cfoutput>

Include form-id-email.cfm is:

Name: #form.FIRSTNAME# #form.LASTNAME#<br />
Email: #form.ReplyTo#<br />
Phone: #form.PHONE#<br />
Fax: #form.FAX#</p>


"#another.variable#" shows the correct value, but anything in the
include isn't being covered by the output block, so I'm getting
"#form.FIRSTNAME#" instead of "FRED" when viewing the page.

I use includes all the time. What could be wrong here? Am I crazy and
just need more coffee or something?


--
-----------
Les Mizzell



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218805
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to