Custom Account Templates

  • in Blog Posts
  • by
  • 6 月 24, 2019
  • 在〈Custom Account Templates〉中留言功能已關閉

CentOS Web Panel is deployed in Contact us to find out our latest offers!

Custom HTML templates for
– suspended account template
– create 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 template location to the new account users public_html folder.

CentOS Web Panel is deployed in Contact us to find out our latest offers!

Comments are closed.

>