chne Posted October 19, 2015 Share Posted October 19, 2015 How can I add a link for telephone numbers? ... <a href="tel:+123456789" target="_blank"> ... After saving the cms page the code above is missing. Link to comment Share on other sites More sharing options...
shacker Posted October 24, 2015 Share Posted October 24, 2015 you added in the in the source code of the cms? Link to comment Share on other sites More sharing options...
Walrus Posted October 28, 2015 Share Posted October 28, 2015 Try <a href="http://www.yourDomain.com/pageToLinkTo.html" target="_blank">Tel: +44 20 1234 5678</> You can find answers to HTML and CSS coding questions on the W3S website: http://www.w3schools.com/ Link to comment Share on other sites More sharing options...
Martin Uker K Posted February 3, 2017 Share Posted February 3, 2017 (edited) Well this is pretty old, but since I found the answer, might as well log it somewhere right? OKAY here we goooo: The tel can be entered and is pass to the HREF trought TinyMCE, so it isn't a problem, the problem is on the HTMLPurifier side (Server side). The purifier doesn't understand the "tel" uri scheme. This is the issue, since it doesn't understand it, it removes it. Note that the HTMLPurifier is two years old in PS, and haven't been updated. It is in version 4.6.0, 4.8.0 undersantd the TEL scheme. So, we need to: Update the version of the htmlpurifier in Tools (yeah, that's not something I'm really okay doing it...since it's going to be bumped by the next update) To update this tool. You need to download the standalone version on http://htmlpurifier.org/download You then replace the content of "\tools\htmlpurifier" with the content of the Zip you just downloaded. That's it. You updated HTML purifier from version 4.6 to 4.8. I logged a ticket on the forge to update this tool in the next version. http://forge.prestashop.com/browse/PSCSX-8850 Have a nice day and weekend. Martin. Edited February 3, 2017 by Martin Uker K (see edit history) Link to comment Share on other sites More sharing options...
bLogix21 Posted April 12, 2018 Share Posted April 12, 2018 this is perfect. Worked for the Call for Price module which their support was zero help. http://atlanticpoolsupply.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now