Module builds preview for main service site for displaying somewhere at client area.
- WHMCS >= 5.3
- PHP >= 5.4 with:
- CURL
- exec
- yaml
- libfontconfig
- Unzip the archieve and put files into folder
/modules/addons/whmcs_sites_previewer
- Give execute permissions to file
/modules/addons/whmcs_sites_previewer/src/phantomjs
- Create
/images/site_previews
folder and give user permission to write into it
After you are doing all the installation steps you can use previews on clientarea.php?action=products
page and others where $services
variable is available by adding preview image:
<img scr="{$service.preview}" />