|
Mailing Lists
|
Home /
Groups /
cf-opensource
Display memo fields
Author: Jerry L Henline
Short Link: http://www.houseoffusion.com/groups/cf-opensource/thread.cfm/threadid:44#658
Hello
I have done this a couple of ways.
1. Convert all (CR)(LF) to <br> and then save it to the database.
Or
2. Convert (CR)(LF) to <br> on each web report.
<cfset tmpstrtmp = #rereplacenocase(Description,chr(10),"","all")#>
<cfset Description =
#rereplacenocase(tmpstrtmp,chr(13),"<br>","all")#>
Jerry L. Henline
President
Vision It Now, Inc
A TecnoGuide Member
Hello,
We ended up using ActiveEdit from http://www.cfdev.com to have our users
be able to format the text exactly how they wanted it to appear. The
html is stored in the memo field in the database and then call it when
we want the text(html)
Thanks.........Rob Walters
Imaira Digital Media
Does anyone know how to display a memo field from a database with the
actual line breaks as it is set up in the database? When I display the
text in a textfield using paragraphformat(string) it is displayed
correctly, but it does not work outside the textfield.
Hope someone can help me...
Sigvart Overstrom
Author:
Short Link: http://www.houseoffusion.com/groups/cf-opensource/thread.cfm/threadid:44#650
We went for a similar approach using SOEditor... Quite good... Easy enough
to envoke
Mark Stephenson
New Media Director
Evolution Internet
T: 0870 757 1631
F: 0870 757 1632
W: www.evolutioninternet.co.uk
E: info@evolutioninternet.co.uk
This email, together with any attachments, is for the exclusive and
confidential use of the addressee(s). Any other distribution, use or
reproduction without the sender's prior consent is unauthorised and strictly
prohibited. If you have received this message in error, please
notify the sender by email immediately and delete the message from your
computer without making any copies.
Hello,
We ended up using ActiveEdit from http://www.cfdev.com to have our users
be able to format the text exactly how they wanted it to appear. The
html is stored in the memo field in the database and then call it when
we want the text(html)
Thanks.........Rob Walters
Imaira Digital Media
Does anyone know how to display a memo field from a database with the
actual line breaks as it is set up in the database? When I display the
text in a textfield using paragraphformat(string) it is displayed
correctly, but it does not work outside the textfield.
Hope someone can help me...
Sigvart Overstrom
Author: Robert Walters
Short Link: http://www.houseoffusion.com/groups/cf-opensource/thread.cfm/threadid:44#648
Hello,
We ended up using ActiveEdit from http://www.cfdev.com to have our users
be able to format the text exactly how they wanted it to appear. The
html is stored in the memo field in the database and then call it when
we want the text(html)
Thanks.........Rob Walters
Imaira Digital Media
Does anyone know how to display a memo field from a database with the
actual line breaks as it is set up in the database? When I display the
text in a textfield using paragraphformat(string) it is displayed
correctly, but it does not work outside the textfield.
Hope someone can help me...
Sigvart Overstrom
Author: Jacek
Short Link: http://www.houseoffusion.com/groups/cf-opensource/thread.cfm/threadid:44#646
#Replace(memo, Chr(13), "<br>", "ALL")#
HTH,
Jacek
----- Excess quoted text cut - see Original Post for more -----
Author: Sigvart Overstrom
Short Link: http://www.houseoffusion.com/groups/cf-opensource/thread.cfm/threadid:44#644
Does anyone know how to display a memo field from a database with the
actual line breaks as it is set up in the database? When I display the
text in a textfield using paragraphformat(string) it is displayed
correctly, but it does not work outside the textfield.
Hope someone can help me...
Sigvart Overstrom
|
June 20, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||