Russ,

here's what I'm doing now... can you suggest the easiest way to save
this content to a variable?


<!--- save to html file and write to disc --->
<cfsavecontent variable="htmlDoc">
<cfinclude template="includes/master_plugin_realestate.cfm">
</cfsavecontent>
<cffile action="write"
file="/home/www/www.gregorigroup.com/htdocs/market_data/#trim(findregions.command_prefix)#_#dateformat(now(),'mm-dd-yy')#.cfm"
 output='#htmlDoc#' mode=777>
        
Thanks


On Sun, 2012-10-14 at 23:45 +0100, Russ Michaels wrote:
> you will need to NOT use cfsavecontent in that case.
> Just put the content into a variable and use CFFILE to save it.
> 
> On Sun, Oct 14, 2012 at 10:58 PM, wayne Gregori <[email protected]> wrote:
> 
> >
> > I'm using cfsavecontent to create a bunch of .cfm files.  I need to
> > include a few lines of coldfusion code but I cannot figure out how to
> > include them into my templates without coldfusion executing them rather
> > than including them in the template in raw text format?
> >
> > Any ideas?
> >
> > Thanks,
> > Wayne
> >
> >
> > 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352903
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to