...@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
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
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!
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!
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
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
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
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
: 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
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 =
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, â, ',
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!
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
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
14 matches
Mail list logo