RE: fckEditor and Coldfusion tags

2010-10-21 Thread Russ Michaels
...@gmail.com] Sent: 21 October 2010 06:34 To: cf-talk Subject: Re: fckEditor and Coldfusion tags The only way to do it would be to write the code into a file, then CFINCLUDE it, kind of cumbersome, Not quite the only way. 1. Write the code in the editor ... as if it were a code editor :-| 2. Store

fckEditor and Coldfusion tags

2010-10-20 Thread Torrent Girl
Hello all. I built a Content Management system that uses the fckEditor. The problem is that when a user adds CF tags, they aren't read correct when the content is retrieved from the database. I did a bit of research which lead me to the following url which instructed me to edit the

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Matt Robertson
Are you trying to retrieve coldFusion code from a database and then execute it? -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com ~| Order the Adobe Coldfusion Anthology now!

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Torrent Girl
yep. Are you trying to retrieve coldFusion code from a database and then execute it? -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com ~| Order the Adobe Coldfusion Anthology now!

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Torrent Girl
Please tell me this can be done :0 Are you trying to retrieve coldFusion code from a database and then execute it? -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com ~| Order the Adobe Coldfusion Anthology

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Kym Kovan
On 21/10/2010 11:26, Torrent Girl wrote: Please tell me this can be done :0 yes, indirectly. The editor will by default change any or to their equivalents lt: and gt; One has to ask who is going to write this code? It is the world's second biggest security issue letting code be created

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Torrent Girl
Developers will write it. Its in a protected CMS. Just forms and cfoutput tags are really going to be the only code in the CMS. We just want to have a completely dynamic site. I found this snippet: cffunction name=CleanUpCode access=public returntype=string output=true cfargument

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Claude Schnéegans
Just forms and cfoutput tags are really going to be the only code in the CMS. Even so, you cannot have a CFML template create CFML code and expect it to be executed. The only way to do it would be to write the code into a file, then CFINCLUDE it, kind of cumbersome, especially in a multiuser

RE: fckEditor and Coldfusion tags

2010-10-20 Thread andy matthews
: fckEditor and Coldfusion tags Hello all. I built a Content Management system that uses the fckEditor. The problem is that when a user adds CF tags, they aren't read correct when the content is retrieved from the database. I did a bit of research which lead me to the following url which

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Torrent Girl
This function is working for me. cffunction name=CleanUpCode access=public returntype=string output=true cfargument name=string type=string required=true/ cfset string = #Replace(string, ’, ', all)# cfset string = #Replace(string, , , all)# cfset string =

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Torrent Girl
hmmm...maybe I'll add the function before i enter the text into the DB This function is working for me. cffunction name=CleanUpCode access=public returntype=string output=true cfargument name=string type=string required=true/ cfset string = #Replace(string, ’, ',

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Torrent Girl
I spoke too soonit's not working hmmm...maybe I'll add the function before i enter the text into the DB ~| Order the Adobe Coldfusion Anthology now!

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Mike Kear
I get round this issue in my CMS by having a fileName field. For security reasons, this field only appears in forms offered to validated users who have permission to upload such files. (not many!).They can upload the file, using the uploader on the 'content' page, then instead of putting

Re: fckEditor and Coldfusion tags

2010-10-20 Thread Matt Robertson
The only way to do it would be to write the code into a file, then CFINCLUDE it, kind of cumbersome, Not quite the only way. 1. Write the code in the editor ... as if it were a code editor :-| 2. Store the form field data using the gymnastics described earlier. 3. Publish the data as a