Hi there, I have run into the following:
Parse error: syntax error, unexpected T_STRING in /home/classicr/public_html/components/com_cobalt/fields/url/tmpl/output/bandn.php on line 1
the code in question is:
$value = $this->value;
$options = $this->params->get('params.open_url', 1) ? ' target="_blank"' : '';
echo JHtml:: link('http://' . $value[0]['url'], "<img src='".JURI::root()."images/library/bandn.png'", $options ) ;
?>
I have run this through three different php checkers and all three return a "no error" result, so I'm a little confused.
Also, this is exactly the same as my previous templates which worked (copied and pasted) although they were from cobalt 7, perhaps this is the problem?
Try as I might I cannot find the problem. I'd appreciate your assistance as I have now been at it the whole morning with no result.
Many thanks,
Jude
Hi there, I have run into the following:
Parse error: syntax error, unexpected T_STRING in /home/classicr/public_html/components/com_cobalt/fields/url/tmpl/output/bandn.php on line 1
the code in question is:
$value = $this->value;
$options = $this->params->get('params.open_url', 1) ? ' target="_blank"' : '';
echo JHtml:: link('http://' . $value[0]['url'], "<img src='".JURI::root()."images/library/bandn.png'", $options ) ;
?>
I have run this through three different php checkers and all three return a "no error" result, so I'm a little confused.
Also, this is exactly the same as my previous templates which worked (copied and pasted) although they were from cobalt 7, perhaps this is the problem?
Try as I might I cannot find the problem. I'd appreciate your assistance as I have now been at it the whole morning with no result.
Many thanks,
Jude