Hi ,
I like to now if it's possible to remove just for "zip" the comma ?
at the moment it look like so : Zip: 7,449
and I like to displayed: Zip: 7449
Regards
Stephane
Printable View
Hi ,
I like to now if it's possible to remove just for "zip" the comma ?
at the moment it look like so : Zip: 7,449
and I like to displayed: Zip: 7449
Regards
Stephane
Hello Stephane,
I think you created zip code field with type numeric, I suggest you create a ticket and our support will solve it ASAP.
You can change it also for all numeric fields by yourself:
1. find the file: /includes/classes/rlCommon.class.php -> function adaptValue()
2. find rows (~847):
2. and replace it to following:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Cool that's it.
Is there also a possibility to change the comma with a dot in the field from the mileage and the option cm3 that i insert in the ADDITIONAL INFORMATION field?
In place from 132,00km -> to 132.00km / and 2,996cm3 to 2.996cm3
Stephane
Hi, just try it.
But no changes at that point. just zip change now: "4777.00"
i change the code to
case 'number':
$out = number_format($value, 0, '.', '');
than the zip is display again correct, but the other field are not changing
Stephane
Hello Stephane,
You should create condition
I hope it should solve your problem.PHP Code:
Only registered members can view the code.
Hi Viktor,
I try that also, but the zip in the admin page change from " 4779" to "Yes"
all other field( cm3 and mileage) are nothing changing, its stay with comma "1,987cm3"
Stephane
Hello Stephane,
Ohh do you want to remove comma for all numeric fields?
You need to remove number_format for all lines in method: adaptValue in file rlCommon.class.php
Hi,
for the zip its OK with the first code from Curtis.
Just the 2 other field, is not changing. Still have a comme stay in place. But i like to change it with a dot. If I remove the number_format , that will not delete the comma in both fieldQuote:
case 'number':
$out = $value;
Stephane