-
1 Attachment(s)
[QUOTE=Rudi;36617]Ok, the only thing you need to is to change the line:
PHP Code:
Only registered members can view the code.
to:
PHP Code:
Only registered members can view the code.
/QUOTE]
Hi Rudi,
After change this code. I got from +91 (866) 745-3872 this to +91 (866) 7453-872
But I want to move This ( ) on 1st 2 Numbers Like this (+91) 866 745-3872
Attachment 4648
-
Please, see the rest part of the solution below
-
2 Attachment(s)
Hello!
I'm trying to add some text below the phone. After clicking on "Show number" how to replace it with some text?
Attachment 4764
Attachment 4765
-
Hello,
Go to templates > your_template > js > form.js > this.showHiddenPhone
replace:
Code:
Only registered members can view the code.
with:
Code:
Only registered members can view the code.
-
1 Attachment(s)
Hello Rudi, hanks for your response!
But it didn't work properly.
It works if I add as you say: $showPhoneLink.text('YOUR_TEXT'); it adds my text,
but I need to add a multilang text, so if I add $showPhoneLink.text(lang.my_text); it adds nothing. I added a picture to show you what happens in this case, look at please.
Attachment 4767
-
You need to initialize this lang phrase first somewhere in tpl file
For example, in footerScript.tpl
after:
lang.login = "{phrase key='login'}";
add your case:
lang.phrase_key = "{phrase key='phrase_key'}";
and then you can use it in form.js
-
Ok Rudi, I'll try. Thank you.
-
Thank you so much Rudi, it worked!