Try this:

&lt;cfinclude template="<cfoutput>#header_path#</cfoutput>"&gt;


Andrew Hewitt
Web Application Developer
webworld studios, inc.
www.wwstudios.com


-----Original Message-----
From: Robert M. Saxon, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 5:31 PM
To: CF-Talk
Subject: CFTags in CFFILE


I am trying to convert an HTML file into a CF template using CFFILE to
write the generated code.  I am running into a problem where a <CFINCLUDE
template="#header_path#"> does not write to the file correctly.  It
evaluates before the file is written.  I want the #header_path# to be
evaluated, but I don't want the CFINCLUDE to evaluate.

Example of desired final result in the generated file:

<CFINCLUDE template="/includes/include.cfm">

Right now I am getting the contents of the included template in the
generated file.  This is not what I want.

How do I write the tag into the file without it evaluating beforehand?

Thanks in advance,
Rob

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to