cab33010
Posts: 26
|
| Posted: 08/29/2006, 7:34 PM |
|
I wish to be able to display Hyperlinks in a Test arera, I know I can change the content label to text or HTML but I need to have it on text I was able to do that on CCS 2 but not on CCS 3.
|
 |
 |
cab33010
Posts: 26
|
| Posted: 08/30/2006, 7:11 PM |
|
Ok I Figured it out, you see I designed a content management web site and I needed to be able to mix regular text with Hyperlinks because most of my customers have limited knowledge of HTML.
Best thing to do is have your label content set to HTML not TEXT and insert this code into Label properties Event tab, before show add this code
articles.article_desc.Value = replace(articles.article_desc.Value, VbLf, "<br>")
or
Form_name.Label_name.Value = replace(Form_name.Label_name.Value, VbLf, "<br>")
|
 |
 |
Waspman
Posts: 948
|
| Posted: 08/31/2006, 12:53 AM |
|
I've seen this done where you ask the user to put some unique character around the link, for example [Link]. Then before the record is updated run a script to add the html part.
Obviously the label is set to html.
Personally I use FCK Editor in my CMS systems (much easier )
Tony
_________________
http://www.waspmedia.co.uk |
 |
 |
cab33010
Posts: 26
|
| Posted: 09/07/2006, 7:25 PM |
|
Thanks for the response I'll see if I can use the FCK Editor.
|
 |
 |
|