Hey Pete,
I just had a look at the code. in the render function of the fields we do this:
JPATH_SITE . '/templates/' . CompojoomTemplateHelper::getFrontendTemplate() . '/html/' . $component . '/fields/customfields'
Basically we are looking for custom fields definitions in your site tempalte in the html/com_hotspots/fields/customfields folder
if you place the libraries\compojoom\form\customfields\url.php file in there and you do modifications to it. You should get the desired outpout.
The render function looks like this:
/**
* There is no need to translate the value for text fields
*
* @param object $data - the object with the field value
* @param string $valueToTranslate - the value for the field
*
* @return string
*/
public function render($data, $valueToTranslate)
{
return '<a href="' . $valueToTranslate . '" target="_blank" ref="nofollow">' . $valueToTranslate . '</a>';
}
just change $valueToTranslate to something else
Regards,
Daniel