URL Shortener
Overview
The URL Shortener plugin for HostBill allows you to use various service providers for shortening urls to create shortneted urls and use them in HostBill document and message templates.
Activating the module
If the plugin is included in your HostBill edition you can download it from your client portal.
If the plugin is not included in your HostBill edition you can purchase it from our marketplace and then download it from the client area.
Once you download the plugin extract it in the main HostBill directory.
Go to Settings → Modules, find and activate SMS Gateway plugin.
Once the plugin is activated you will be directed to Settings→ Apps to configure the plugin.
Module configuration
Fill in the configuration fields:
Choose module display name
Select if you want the plugin to be accessible for all staff members or only selected staff members
Enter:
URL shortener module to be used
Currently, the following service providers are available:
How the module works
Once activated, you can use choose the service provider selected in module configuration to shorten urls and use them in document and message templates as smarty variables.
Example:
Assume you have some url in your template stored under {$url}
variable.
To automatically shorten it you can use shorturl
smarty modifier with it, like:
{$url|shorturl}
Ie for support-related emails {$ticket_url}
contains link to clientarea ticket page. You can shorten this link using: {$ticket_url|shorturl}