[ic] Newbie help - Filters - Update to 5.4 - Sign emails

Stefan Hornburg racke at linuxia.de
Sun Feb 5 13:59:51 EST 2006

On Sun, 5 Feb 2006 17:26:13 +0000 (GMT)
Mark Halliday <bmhtdev at yahoo.co.uk> wrote:

> Thanks for the quick responses, but:
> > Mark should change "&#163;" to "&pound;" in the Locale, and then
> change
> > "&price;" to "&pound;" in the Filter.  Renaming the filter to
> "pound2gbp"
> > would be good too.
> Results in the following output in emails:
> [item-filter pound2gbp]&pound;24.99[/filter]
> I have tried the following substitution criteria as well:
> $val =~ s/&#163;\s*/GBP /g;
> $val =~ s/\&\#163\;\s*/GBP /g;
> $val =~ s/`&#163;`\s*/GBP /g;
> I have also tried [filter pound2gbp][item-price][/filter].
> None of the above seem to work.  It is as if the filter is not being
> called at all.

If the filter for some reason is not detected by Interchange at configuration
time, Interchange leaves an error message in the catalog logfile.

Add Log() statements to your filter to debug the situation further,

Log ("pound2gbp: value is $val");


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list