• Home
  • FAQ
  • Main Website
  • Forum
  • Facebook
  • YouTube
Control WebPanel Wiki
  • Home
  • FAQ
  • Main Website
  • Forum
  • Facebook
  • YouTube

Custom Account Templates

/Other /Custom Account Templates
  • June 24, 2019
  • Other

Custom HTML templates for
- suspended account template
- create a new account template

* Custom templates are required if you plan to make custom changes as default templates get overwritten on each CWP update.

* 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.

Tagged:cwp custom account templates

Related Articles

  • CentOS 7: Could not resolve host: mirrorlist.centos.org

  • Update CURL to Latest version in CentOS

  • Disk Usage Check

  • Account Suspended

  • How to install ElasticSearch

  • How to create CWP iso image






Latest Articles

  • MySQL: Recover Crashed innodb tables
  • CentOS 7: Could not resolve host: mirrorlist.centos.org
  • No space left on device: AH00023: Couldn't create the proxy mutex
  • CWP Expired: Error 500
  • Update CURL to Latest version in CentOS
  • How to update Netdata in CWP
  • How to create a wildcard subdomain with NGINX and Apache
  • Can't log into CWP user/admin panel
  • PHP Installation Failing
  • MariaDB Upgrade from 10.2 to 10.4
  • Additional custom backup
  • CSF/LFD Firewall prevent blocking for your country
  • How to connect MySQL database remotely
  • Varnish Cache Test
  • Copy Local Backup to Google Drive
  • ClamAV Issues
  • MariaDB Upgrade to the new version
  • PHP Defender - Snuffleupagus
  • SSL installation failed
  • Disk Usage Check
  • WebServer Errors
  • Postfix Blacklist/Whitelist Domain or IP

Popular Articles

  • Check if SSL certificate matches the key file
  • SpamAssassins Learning
  • Varnish Cache Test
  • CWP Security Advisor Config
  • Additional custom backup
  • SSL installation failed

Categories

  • 3rdParty 2
  • Apache 25
  • API 1
  • Backups 3
  • Clusters 4
  • Development 5
  • DNS 7
  • E-Mail 28
  • FTP 7
  • License 2
  • Load-Balancers 2
  • Migrations 4
  • MySQL 14
  • Nginx 3
  • Other 22
  • Other Databases 3
  • PHP 19
  • Python 3
  • Scripts 4
  • Security 31
  • shell-scripts 1
  • SSL/AutoSSL 3
  • Testing 2
  • Updates 7
  • User-Panel 6
  • Varnish 2

Add your Article

Want to Contribute?
Submit your Article and Get Rewarded

Joint CWP Team
Join Our Development Team
Join Our Support Team
Join Our Marketing Team
Join Our Designers Team
Join Our Documentation Team

Languages

en English
ar Arabiczh-CN Chinese (Simplified)hr Croatiannl Dutchen Englishfr Frenchde Germanit Italianpt Portugueseru Russianes Spanish

Enterprise Linux Security

Enterprise Linux Security
Linux Security and Stability Systems
  • Home
  • FAQ
  • Main Website
  • Forum
  • Facebook
  • YouTube
© Copyright, CWP Wiki