You have to use CFOUTPUT within INCLUDE files. It does not inherit the
Parent CFOUTPUT 

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 21, 2005 11: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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218801
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