Hi list,
may be some has an idea or a hint for the following problem.
I still did not get it yet.
A UserTag, lets call it check_basket, should controll some things like
the minimum order value, the maximum order value and other stuff.
If, for example, the total is less then the minimum order value,
check_basket should set the error message "some text" using error:
$Tag->error(
{
name => 'my_error',
set => $error_msg
}
);
$error_msg is set in this way
my $error_msg = $Tag->filter(
{
'op' => 'loc html2text vars_and_comments',
interpolate => 1,
body => 'some text'
},
''
);
The locale.txt:
--snip--
code en_US
some text Some text [user_tag] again text
--snap--
I added $Tag->log() to have a look, what is set in error. It seems that
the UserTag is not parsed.
The log - file contains the follown text message:
Some text [user_tag] again text
If interpolate_html() or $Tag->loc() is used, it produce the same
output.
*help* :-(
Regards,
Lars
_______________________________________________
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.