
ClickToCall
Call widget for mobile devices


Call widget for mobile devices.

| Name | Default | Description |
|---|---|---|
| &force | 0 | Force the widget to show. |
| &phone | Phone number for the widget; if empty, taken from system settings. | |
| &tpl | ClickToCall.tpl | Chunk for the widget. |
| &useCustomCss | 0 | Disable component CSS (use your own styles). |
| &useCustomJs | 0 | Disable component JS (use your own scripts). |
| Name | Default | Description |
|---|---|---|
| clicktocall_mobiledetect | Yes | Use mobile-detect.js. Disable if you already use it on the site. |
| clicktocall_phone | Default phone for the widget. |
The snippet must be called uncached!
To force the widget to show, use &force:
[[!ClickToCall? &force=`1`]]The widget will then always show, ignoring the schedule.
To use different phone numbers on different pages:
[[!ClickToCall? &phone=`+79991234567`]]