+ Reply to Thread
Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 67

Thread: We demand an official technical support to hide the phone number !

  1. #11
    Hello

    could you please share what you did or maybe PM it.

    i would appreciate it a lot

  2. #12
    Can you share how to make phone number hidden, only show the last 4 digit and with text click to reveal?

  3. #13
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Quote Originally Posted by Wei Hong View Post
    Can you share how to make phone number hidden, only show the last 4 digit and with text click to reveal?
    Hello,

    You can use this code for phone type fields in tpl file:

    Code:
    Only registered members can view the code.
    * where your_field_key is a key of your phone field

    in js file omit <script> and {literal} elements
    Last edited by Rudi; January 19, 2018 at 09:35 AM.

  4. #14
    Quote Originally Posted by Rudi View Post
    Hello,

    You can use this code for phone type fields in tpl file:

    Code:
    Only registered members can view the code.
    * where your_field_key is a key of your phone field

    in js file omit <script> and {literal} elements
    Hi Rudi,

    Thank you for your guide, I was going to test it out but I'm unsure. What tpl file do you mean? Did you mean field.tpl?
    And what js file do you mean? Was it lib.js?

  5. #15
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    I meant that you can add it to some tpl or js file (lib.js for example)

    in case of tpl it's better to add this code to templates > your template > tpl > blocks > listing_details_seller.tpl > add it to the end of the file

  6. #16
    Hi Rudi,

    It worked very great. One more question. Is there anyway that I can make it so the first click will reveal all phone number. And click again to actually call it?
    Because now the function work so that user click and make call at the first click.

    Right now phone number show: *********1234
    Can I add text: "Click to reveal" under the *********1234 ?

    Thank you
    Last edited by Wei Hong; January 20, 2018 at 04:22 AM.

  7. #17
    Hello Rudi;

    Please can you help me and everyone used General wilde template, i have this code of listing_details_seller.tpl

    Code:
    Only registered members can view the code.

    the code to add with is my key phone field

    Code:
    Only registered members can view the code.
    i have problem in php 7

    think you



  8. #18
    Member
    Join Date
    Jul 2016
    Location
    Iran
    Posts
    74
    Hello All


    I used this code in field_out_value.tpl file:

    Code:
    Only registered members can view the code.
    Good work in side block but not work in listing details.
    Car sell in: BanBan.ir

  9. #19

    is it possible to add a text over the hidden phone number ?

    Hello everyone,

    is it possible to add a text over the hidden phone number, i want to show a text "Show Number" instead of caracters ****** . look the attached image
    Attached Images Attached Images

  10. #20
    Quote Originally Posted by Amir Khalid View Post
    Hello everyone,

    is it possible to add a text over the hidden phone number, i want to show a text "Show Number" instead of caracters ****** . look the attached image
    Yes this look great. Can we do that Rudi, Viktor, Mike, Curtis?

+ Reply to Thread