Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Tuesday 16 May 2006 5:54:00 am - 2 replies
Felix Laate
Tuesday 16 May 2006 6:06:32 am
Hi André!
You could use <i>strip_tags</i>. But you need to set it up first in the [php]-block of template.ini:
[PHP] PHPOperatorList[striptags]=strip_tags
Then use it in templates like this:
{$node.data_map._ATTRIBUTE_NAME_.content.output.output_text|striptags()}
Hope this will help you!
Felix
Publlic Relations Manager Greater Stavanger www.greaterstavanger.com
Xavier Dutoit
Tuesday 16 May 2006 6:36:09 am
Hi,
You are obvioulsy going to loose the new lines (as it strips <p> tags too). I haven't find a better solution, but if you find something, please share.
X+
http://www.sydesy.com
You must be logged in to post messages in this topic!