Jump to content

Add a link "tel:+123456789" in CMS


chne

Recommended Posts

  • 1 year later...

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 by Martin Uker K (see edit history)
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...