Forums / Setup & design / [solved] Replace text occurences (eg: tags in forums) ?
Lex 007
Tuesday 20 September 2005 1:16:04 am
Hi,
What is the mechanism used in this forum for the custom tags for bold text or italic text ?
For instance, I would like to replace
:)
with a nice smiley image or have underlined text.
Thanks
Ćukasz Serwatka
Tuesday 20 September 2005 1:20:04 am
Hi Lex,
Use wordtoimage() operator.
{$node.object.data_map.message.content|wordtoimage}
For settings look into settings/wordtoimage.ini file.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Tuesday 20 September 2005 1:34:21 am
Alright !!! I didn't notice the wordtoimage operator and the wordtoimage.ini configurator. Nice feature :-)
And the operator to use for bold, italic and underline tags is "simpletags", right ?