Custom HTML templates for
- suspended account template
- create a new account template
* We should use only HTML extension here. PHP will NOT work as these templates are also used to prevent high load issues as HTML will not cause a high load like PHP.
Suspended Account Template
To activate custom HTML templates for suspended accounts you need to create custom folder and add in it your index.html file
/usr/local/cwpsrv/htdocs/resources/admin/tpl/suspend_account_tpl_custom/
Nginx & Apache read custom templates for suspended pages from this location so you would need to modify it there also
/usr/local/apache/htdocs/suspended-page/
Disabling Custom Templates for Suspended Accounts
If you want to disable custom templates you made and activate cwp default you will need to delete your custom created folder
/usr/local/cwpsrv/htdocs/resources/admin/tpl/suspend_account_tpl_custom/ and copy content of default to /usr/local/apache/htdocs/suspended-page/
You can do it like this
rsync -av /usr/local/cwpsrv/htdocs/resources/admin/tpl/suspend_account_tpl/ /usr/local/apache/htdocs/suspended-page/
New Account Template
To activate custom HTML templates for new accounts you need to create a custom folder and add in it your index.html file
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl_custom/
Disabling Custom Templates for New Account
If you want to disable custom templates you made and activate cwp default you will need to delete your custom created folder
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl_custom/
* New account template is used when creating a new account and it's copying the content from the template location to the new account user public_html folder.
New Domain Template
To activate custom HTML templates for new accounts you need to create a custom folder and add in it your index.html file
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_domain_tpl_custom/
Disabling Custom Templates for New Domain
If you want to disable custom templates you made and activate cwp default you will need to delete your custom created folder
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_domain_tpl_custom/
* This template is used when creating a new domain and it's copying the content from the template location to the domain created folder.
New SubDomain Template
To activate custom HTML templates for new accounts you need to create a custom folder and add in it your index.html file
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_subdomain_tpl_custom/
Disabling Custom Templates for New SubDomain
If you want to disable custom templates you made and activate cwp default you will need to delete your custom created folder
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_subdomain_tpl_custom/
* This template is used when creating a new subdomain and it's copying the content from the template location to the subdomain created folder.