...
The "Tags" section describes tags that may be used in the welcome email. The welcome email content is inserted into the "Service Creation" email template under [Settings] > [Company] > [Emails] > Service Creation. Only details unique to this service should be entered into the welcome email section for the package.
Sample Email
This sample email could be used in the Package Welcome Email section to help you get started. Be sure to enter content for your welcome email in both the HTML and Text sections.
No Format |
---|
Your hosting account details are below!
Domain: {service.centoswebpanel_domain}
Username: {service.centoswebpanel_username}
Password: {service.centoswebpanel_password}
To log into your control panel please visit https://{module.host_name}:2083.
Please update your name servers as soon as possible to the following:
{% for name_server in module.name_servers %}
Name server: {name_server}{% endfor %}
Thank you for your business
|
When creating or editing a package that uses this module, the following tags will be available:
Tags | Description | Notes |
---|---|---|
{module.host_name} | The host name of the server that the service was provisioned on | e.g. "domain.com" |
{module.name_servers} | An array of available name servers for this module | Array elements must be looped over in the email template. See below for an example. |
{package.type} | The package meta type | e.g. "standard", "user", "reseller", etc. |
{package.package} | The package meta package name | e.g. "Bronze" |
{package.acl} | The package meta access control list | |
{service.centoswebpanel_domain} | The service field for the domain of the server created by CentOS WebPanel | |
{service.centoswebpanel_username} | The service field for the CentOS WebPanel account username | |
{service.centoswebpanel_password} | The service field for the CentOS WebPanel account password |
CentOS Web Panel API
The API for CWP listens on https port 2031
CentOS Web Panel may require additional steps in order to allow access via the API from your Blesta installation. From https://www.blesta.com/forums/index.php?/topic/12631-how-to-configure-api-and-packages-for-centos-web-panel/ you may need to do the following:
...