+ Reply to Thread
Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: 4.1.0 Phonenumber field dont show 0

  1. #11
    Yes I know that this works, but people in Sweden, commonly, doesn't use that, in some companies yes. I don't wont to use that on my site as there should be a solution with the zero, most every web page has that.=)
    Free Advertising at Fyndklippet.se


  2. #12
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    The Flynax team has implement the international standart. And i think thats great.
    The Flynax Script has multilanguage and it is not only for local areas. If you make business in europe and has more users in many countries there will be this the best way.

  3. #13
    I think that this will follow the standard that are common in the region, as it is with i.e. Windows. There you could set locale. I will not do business in other countries but if one should place a listing from Germany, you could enter +4X as your country code and (xxx) for your area code, followed by your number.
    So lets have a field which is included in the General Setup for the script where you could set your locale.
    Free Advertising at Fyndklippet.se


  4. #14
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Hi Morgan,

    I cant give you a solution.
    Sorry!
    Last edited by Steffen Buschkemper; September 19, 2012 at 07:16 PM.

  5. #15
    Hi Steffen,
    It's alright, thanks for trying.
    Free Advertising at Fyndklippet.se


  6. #16
    Well, someone(flynax) has to have an solution. How do other websites do ?

  7. #17
    I have the solution: few changes to the code required.

    Would you like me to post changes here? three files and two places in each file to change (5 lines in each place to change)

    It's better if you submit a ticket with remark "to Mike, about 0 in phone"

  8. #18
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421

    Part 1

    Hi Mike!
    I have also a solution...
    Let us see it is the same..

    Open includes/classes/reefless.class.php

    Find the function parsePhone at line 705

    PHP Code:
    Only registered members can view the code
    and change it with this code

    PHP Code:
    Only registered members can view the code
    Last edited by Steffen Buschkemper; September 22, 2012 at 08:38 PM.

  9. #19
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421

    Part 2

    Open in admin/tpl/blocks/fields/add_edit_form.tpl

    find this part at line 345

    PHP Code:
    Only registered members can view the code
    and change this code with follow

    PHP Code:
    Only registered members can view the code
    Last edited by Steffen Buschkemper; September 22, 2012 at 12:49 PM.

  10. #20
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421

    Part 3

    Open in templates/general_modern/tpl/blocks/profile_account.tpl

    find the follow code @ line 113

    PHP Code:
    Only registered members can view the code
    and change it with the follow code

    PHP Code:
    Only registered members can view the code
    This solution is only for sites they need only local numbers and area number has 0 at first.
    Last edited by Steffen Buschkemper; September 22, 2012 at 01:00 PM.

+ Reply to Thread