Ads decimal Separator

When you add an ad and you set the price to let say: 8,500 when the ad is saved, the price is changed to 8

Can there be added some settings about decimals ?

Quote · 11 Dec 2010

Morning,

Did anyone sort this out? Really appreciate some help here if anyone knows.

Thanks

Me

Quote · 6 Apr 2012

Anyone please.

 

Im sure this is simple, I just dont want to mess about with the DB and mess things up.

M

Quote · 12 Apr 2012

Really, no one knows this?

Please guys, this must be a piece of cake!!!

Thanks

M

Quote · 2 May 2012

edit modules\boonex\ads\classes\BxAdsModule.php

At about line 1025 look for this.

$sCustomFieldValue1 = floatval(bx_get('CustomFieldValue1'));
$sCustomFieldValue2 = floatval(bx_get('CustomFieldValue2'));

Change to this.

$sCustomFieldValue1 = bx_get('CustomFieldValue1');
$sCustomFieldValue2 = bx_get('CustomFieldValue2');

Templates and Modules for Dolphin 7.3 http://www.boonex.com/market/posts/Giovanni_m
Quote · 2 May 2012

THANK YOU SOOOOOO MUCH.

Why cant I have this knowledge!!! :(

Quote · 2 May 2012

Without knowing it you have actually sorted out another issue with this. It didnt use to show the 2nd custom option on the ads display and now it does. Excellent!

 

Thank you again.

M

Quote · 2 May 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.