Tuesday 18 October 2005 6:59:18 am
You can use $node.data_map.your_xml_block.content.output.output_text|strip_tags() to recieve a plain text version.
But you'll have to create a custom template operator named strip_tags first: http://ez.no/products/ez_publish_cms/documentation/development/extensions/template_operator The function could look like this (including all the required stuff described in the above documentation page):
...
case 'strip_tags': {
$operatorValue = $this->strip_tags($operatorValue, $namedParameters['allowable_tags']);
} break;
...
function strip_tags($str, $allowable_tags) {
return strip_tags($str, $allowable_tags);
}
|