pepperstreet VIP
Total posts: 3,837
30 Авг 2013 17:08

Hello, just found this article about click-to-call link creation. The link format makes phone numbers callable with one click from mobile devices.

<a href=”tel:0000000000″>0000000000</a>

Maybe an option for Cobalt Telephone field ? Or an output template for another field type?

Thanks for listening.

Последние изменения: 02 Март 2014


londoh VIP
Total posts: 137
31 Авг 2013 02:50

Maybe an option for Cobalt Telephone field agree


Sergey
Total posts: 13,748
02 Сен 2013 07:49

This is not hard to do in template just change to

<?php echo $this->phone;?>

But there is a problem. If I add it there will be link in desktop browser too. And it will not do anything. And Joomla does not have goot way to detect if it is mobile view or not.


Sergey
Total posts: 13,748
03 Сен 2013 00:37

This is all good Paperstreet but still detection is the problem.

In Bootstrap there is solution. You can create t links.

phone;?>

phone;?>

Работает на Cobalt