+ Reply to Thread
Results 1 to 7 of 7

Thread: Add Decimal to Bathroom Field

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Location
    Canada
    Posts
    13

    Add Decimal to Bathroom Field

    Can someone help me out. When adding a decimal to bathroom it doesn't take. 1.5 shows on listing as 15.
    I'm just not sure where to change it in the Database.

    Thanks
    John

  2. #2
    The decimal should be a , not a .
    //Morgan
    Free Advertising at Fyndklippet.se


  3. #3
    Junior Member
    Join Date
    Aug 2011
    Location
    Canada
    Posts
    13
    Sorry Morgan I'm not quite following you.

    When adding half a bath to a listing you 1.5, even if I try 1,5 it doesn't take the ",".

    Issue was explained here http://www.flynax.com/forum/showthre...light=bathroom but I can't seem to find what they are talking about.

    Thanks
    John

  4. #4
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Hello John

    Your problem is the comma as decimal.
    Flynax does not support this.
    Only point as decimal.

    I have open a thread for german currency format and comma as decimal. -> here
    I think the last part would be interest for you.

    Please make backup of all files they will changed or edited!

    Open templates->"your template"->tpl->controllers-> edit_listing.tpl
    Find the code @ line ~ 23

    PHP Code:
    Only registered members can view the code
    and after that - add the following line

    PHP Code:
    Only registered members can view the code
    Save and Close!

    Download and extract the numeric.zip.
    Download: Attachment 476

    Replace the new numeric.js with existing - via ftp @ folder libs -> jquery -> numeric.js

    I can not guarantee that this solution solved 100% your problem.
    Check it out...

    and let me know if it helped
    Last edited by Steffen Buschkemper; July 26, 2013 at 07:22 PM.

  5. #5
    Junior Member
    Join Date
    Aug 2011
    Location
    Canada
    Posts
    13
    Hi Steffen,

    I gave that a try, but it didn't seem to do anything.
    I do have a ticket in but being the weekend and all they won't get to look at it until Monday.
    What I did before was delete the Bathroom Field and recreated it as a Text field but that messed up my Refine Search section.

    Thanks
    John

  6. #6
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Hmmm i think your new field has another name...
    The original field name="f[bathrooms]".
    If you know the name of your new field, then it should work.
    Last edited by Steffen Buschkemper; July 26, 2013 at 07:43 PM.

  7. #7
    Junior Member
    Join Date
    Aug 2011
    Location
    Canada
    Posts
    13
    Yep the field name is bathrooms.

    See attached if that helps.

    Thank you,
    John
    Attached Images Attached Images

+ Reply to Thread