[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] formatting tag time, total-cost
****** message to minivend-users from jojo@buchonline.net ******
On 7 Apr, Thomas May wrote:
> ****** message to minivend-users from "Thomas May" <thomas.may@x9media.com> ******
>
> Joachim,
>
> iam using minivend 3
> i read the manual carefully, but didnt find the answer
> the noformat=1 makes a price from 200,00 Dm to 200.00 / it doesnt help me
> if you mean the price picture, yes i have done this
> iam also searching in the mailarchives, not found
>
> regards,
> thomas
How about
-------snipp-----
[set name="out" interpolate=1]200,00 DM[/set]
[perl arg="scratch"]
$_ = $Safe{'scratch'}->{"out"};
s/,//g;
s/\.//g;
s/DM//g;
s/\ //g;
$Safe{'scratch'}->{"out"} = $_;
return '';
[/perl]
Test: [scratch out]<BR>
-------snipp-----
?
You can replace 200,00 DM with [total-cost].
Regarding the time format...
how about
Zeit: [tag op=time]%d.%m.%Y %H:%M[/tag]<BR>
?
In your browser, you see this as
"Zeit: 07.04.2000 10:16"
Regards,
Joachim
BTW: Look into the section "TAG -- the catch all" and [tag time]! :-))
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1671449
45886 Gelsenkirchen FAX: 0209 1671449
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list