Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ReplaceIcon

Summary

Sets which icons that should be converted to text.

Usage

ReplaceIcon[]=happy.gif

Description

When a character combination is published that is defined in the setting ReplaceText in [WordToImageSettings] it will need to be replaced by an image.  This setting sets the image file to convert to when the specific character combination is used which is set by ReplaceText, straight above this setting.  The image files used as value should be stored in the folder defined in IconRoot in [WordToImageSettings].

So whenever a special character sequences is published, it will be replaced by the image icon defined in ReplaceIcon.  For example, the sequence ":-)" will be replaced by a small image of a smiling face.

This setting is case sensitive.

Examples

IconRoot=/share/icons
ReplaceText[]=;)
ReplaceIcon[]=blunk.gif
ReplaceText[]=;-)
ReplaceIcon[]=blunk.gif

This is a default setting, when ";)" or ";-)" is typed, the system will look for the image blunk.gif, a winking smiley, in the folder (root of your eZ Publish installation)/share/icons to replace it.

Geir Arne Waaler (07/10/2010 10:40 am)

Geir Arne Waaler (07/10/2010 11:20 am)


Comments

There are no comments.