Hi,
when using href=tel for international numbers href=tel:+61.... AEM removes the link - any idea how to get it to stop stripping the code?
Also, how to make the link section of the Rich Text Editor to have TEL and mailto as options?
thanks
Michael
Solved! Go to Solution.
Views
Replies
Total Likes
Hi all,
if you have the same issue - solution here: https://experience-aem.blogspot.com.au/2015/05/aem-6-sp2-handling-custom-protocol-in-link-href-in-rt...
Read the comments, i have added to code also allow a plus sign for international numbers
Michael
Hi Michael,
In AEM you have a tool called Link Check[1], it's main purpose it to check validity of links.
Here's a link to the example how to fix your problem with telephone[2]
[1] https://docs.adobe.com/docs/en/aem/6-2/administer/operations/external-link-checker.html
[2] http://aemexperience.blogspot.co.uk/2015/07/aem-link-checker-fixing-broken-links.html
Regards,
Peter
Views
Replies
Total Likes
(Answer given by justin)
You need to add 'tel:' as a "Special Link Prefix" in the configuration of the CQ Link Checker Service.
To do this, copy /libs/cq/linkchecker/config/com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl to a config folder under apps (e.g. /apps/myapp/config). Then edit the property service.special_link_prefix to add tel: as a new prefix.
Link:- https://forums.adobe.com/thread/1127899\
~kautuk
Views
Replies
Total Likes
thanks all - while that should work - it adds the link - but then strips the code when you View as Published - i have submitted a Daycare ticket
Views
Replies
Total Likes
Hi all,
if you have the same issue - solution here: https://experience-aem.blogspot.com.au/2015/05/aem-6-sp2-handling-custom-protocol-in-link-href-in-rt...
Read the comments, i have added to code also allow a plus sign for international numbers
Michael
In 6.1 SP2 you also need to modify: /etc/clientlibs/granite/coralui2/optional/rte/js/core/HtmlRules.js to add tel:+ in the list of allowed protocols (~ln 250) otherwise, the editor strips out the tel number (ie. tel:123 will work but tel:+123 will be stripped out when trying to edit the number again in a text component)
Views
Replies
Total Likes
Your comments is removed, so what is your answer for the international numbers if it's not by adding a new protocol tel:+?
Views
Replies
Total Likes
Views
Likes
Replies