[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


On Sun, 5 Feb 2006 17:26:13 +0000 (GMT)
Mark Halliday <suppressed> 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,
e.g.

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

Bye
	Racke

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

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.