Forums / Developer / Convert URL to hyperlink / Comment45530
Sascha Frinken
Friday 17 March 2006 8:32:31 am
I guess your attribute is a textfield...
I would write a template operator that parses the text. This is the php code you need to make your text a clickable link:
$click_text = preg_replace( "#(^Event.*Website:\n)(.*)#sm", "\\1<a href=\"http://\\2\">\\2</a>", $your_attribute );
HTHSascha