There has got to be a better way of doing this. Isn't there? Jochem - Maybe I don't understand what you are saying. The problem I am having is that I can not "run" a cfinclude that is in a database record. Are you suggesting that I write 1000s of database records to files? Seems to kinda defeat the reason we made it a contentment management system in the first place. Or am I not understanding you correctly. :-)
I think this is the equivalent of what I am trying to do: I have a var that holds text and 1 cf include. <cfset foo='Here is the current results:<cfinclude template="test.cfm">' > <cfoutput>#foo#</cfoutput> Mark W. Breneman >Mark W. Breneman wrote: >> I have a database table that holds the "body" contents of a page. (simple >> contentment management system) I just tried to put a cfinclude in a db >> record and found that CFMX does not evaluate the code. CFMX will just send >> the cfinclude tag to the browser, as unrendered source code, just like any >> other normal html tag. Is there a way I can make CFMX render CFtags that >> are stored in a db record? >Write them to a file and cfinclude the file. >> Seems like there should be an EZ way to do this. >http://www.macromedia.com/support/email/wishform/?6213=3 >Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4