Hello,
in MODX2.x I have hade an Column Snippet Renderer like this:
<?php
$linkValue = $modx->getOption('value', $scriptProperties, '');
if ( $linkValue <> ""){
$parsedURl = parse_url($linkValue);
if (!preg_match('/^([a-z][a-z0-9\-\.\+]*:)|(\/)/', $linkValue)) {
$linkValue = '//' . $linkValue;
}
$output = '<a href="'.$linkValue.'" target="_blank" title="Website aufrufen">'.$linkValue.'</a>';
return $output;
}
But in MODX3 with Collections 4. no html is rendered.
Any ideas?
thank you in advance.
bye
Chris