How To Use Links With Source Code Feature

Using the source code module, you can use links like links to website or also what’s app or google map links.
You can now choose how the are opened:

The 3 choices are:
– in app browser
– custom tab (open a weblink in the device browser, embeded in the app)
– external apps (open another app: websites open the device browser, whatsapp link open whatsapp app)

The following also works in the source code block of the custom page module.
Here are some examples about how to realize this using the source code module:

The links used can be as follow:

<!-- Usual weblink-->

<!-- What's app share message-->

<!-- What's app to specific number android & ios-->

<!-- Tel -->

<!-- Sms -->

<!-- Email-->

<!-- open app for navigation - geo:latitude,longitude -   more on -->

<!-- search for restaurant - geo:latitude,longitude?q=restaurants - more on -->

<!-- waze-->

Note: This list is not exhaustive

You can create a link as follow:

<a href="#" onclick="'', '_system')">open in the device browser</a>
<a href="#" onclick="'', '_blank')">open in the in app browser</a>
<a href="#" onclick="parent.cordova.plugins.browsertab.openUrl('', {'showTitle': true});">open in a custom tab</a>
Of course, all links using antyhing else than a website has to use the exernal app: 
<a href="#" onclick="'geo:48.858370,2.294481', '_system')">open in the device browser</a>

If you plan to build a page with many links, you can use a function:

function mylink(type, url){
  switch (type) {
    case 'external':, '_system');
    case 'inapp':, '_blank');
    case 'customtab':
      parent.cordova.plugins.browsertab.openUrl(url, {
        'tabColor': parent.window.colors.header.backgroundColorHex,
        'secondaryToolbarColor': parent.colors.header.backgroundColorHex,
        'showTitle': true,
        'enableUrlBarHiding': false,
        'selectBrowser': false,

<a href="#" onclick="mylink('external', '')">open siberiancms in the device browser</a>
<a href="#" onclick="mylink('inapp', '')">open siberiancms in the inapp browser</a>
<a href="#" onclick="mylink('customtab', '')">open siberiancms in a custom tab (browser embeded in app)</a>
<a href="#" onclick="mylink('external', 'whatsapp://send?text=Hello%2C%20World!&phone=+3312345678&abid=+3312345678')">whatsapp</a>
<a href="#" onclick="mylink('external', 'sms://+