I would try use a TEXTAREA to edit the CF code in the DB (maybe paste the 
code in from CF Studio), instead of trying to write files to get them in 
from files (or maybe do both!).  You may run into problems when trying to 
evaluate Encoded stuff however.

Then I would use the Evaluate() function to run the code after the query.

However, I don't understand the potential benefits.  Can you go over what 
you think the benefits to this system are?


At 08:40 PM 4/21/01, Tim Lieberman wrote:
>I'm working on a pretty nice system for content management here.
>
>The problem I'm having, is I would like to be able to store CF templates
>in my database, and have CF parse them.  The reason for this is that I've
>written custom tag interfaces to various "elements" that site admins can
>use to do things like insert images in an article without resorting to HTML.
>
>Is there a way to do this, besides writing a temp file to disk and then
>including it via CFINCLUDE?
>
>It would be really nice to have a ParseCFML function which would take a string
>and treat it like input. Leave non-CFML content alone, and execute any CF
>content.
>
>Can this be done?
>
>TIA
>
>-Tim
>
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


================================================
Douglas M. Smith - Application Architect
TeraTech - Tools for Programmers(tm)
[EMAIL PROTECTED]
================================================


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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

Reply via email to