I have setup a delegate class for a table in my DB. I have a mailto function that works correctly, however the code for the website field takes me to my URL+www.thesitereferenced.com
(e.g. http://mydomain/myapp/www.thesitereferenced.com.)
Here is the code
function website__renderCell( &$record ){
return $record->strval('website').' (<a href="'.$record->strval('website').'">visit</a>)';
How can I make it so that it only references the site in the field, and does not add my url to the front?
Note: the websites in my DB do not have the http:// in front of the address. Could this be the problem?
Thanks