+ Reply to Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

Thread: Number separator when typing?

  1. #21
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    Hello viktor, did not work after updating

  2. #22
    Hi Viktor,

    After update to 4.6.1 in lib.js file in template

    The new function is:

    $('.numeric').numeric({
    decimal: rlConfig['price_separator']
    }).number(true);
    It used to be in 4.6
    $('.numeric').numeric().number(true);
    The problem is it still add separator like 0,000,000 ok. But search wont work. If I have a listing price 600 and I use 6,000 as "from" and leave "to" price blank in search box. It show the 600 listing. If I put 700 in "from" it shows none listing which is correct. So I think flynax consider a number with separator added by your method as a zero 0

  3. #23
    Quote Originally Posted by Yakup calis View Post
    Hello viktor, did not work after updating
    Hi Yakup
    Did you manage to fix it?

  4. #24
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    the problem continues

  5. #25
    Hello Yakup,

    I suggest you create a ticket with the problem.
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #26
    Hello Yakup,

    I think somebody added this dot manually, Please try to edit this listing into Admin Panel. And you will see manually added the dot.
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #27
    Quote Originally Posted by Viktor View Post
    Hello Yakup,

    I think somebody added this dot manually, Please try to edit this listing into Admin Panel. And you will see manually added the dot.
    Hi Viktor,

    The one in admincp is called Separator symbol in prices, in basic setting > listing
    This one show separator in price field.

    But the one you taught us in this thread is add separator while typing in search field or listing field. Like typing 1000000. It automatically added separator so it become 1,000,000. The one in admincp only show separator after we submit listing. Not while we typing.

  8. #28
    Hello Wei Hong,

    Open file: ftp://includes>>classes>>rlSearch.class.php find method: search
    and code:

    PHP Code:
    Only registered members can view the code
    and replace to:
    PHP Code:
    Only registered members can view the code
    save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #29
    Hi Viktor,

    Is there anyway if we could make the method that you taught us earlier to work in 4.6.1?
    Your method is here:
    http://forum.flynax.com/showthread.p...ll=1#post18941

    I think it is the best one so far because it works on all number fields.
    In 4.6 version the code is
    $('.numeric').numeric();
    Now in 4.6.1 it is:
    $('.numeric').numeric({
    decimal: rlConfig['price_separator']
    }).number(true);

  10. #30
    Senior Member
    Join Date
    Oct 2014
    Posts
    169
    Hello Viktor. Can you post correct code to board when finish please. So we can benefit from such mods

+ Reply to Thread