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

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 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 template location to the subdomain created folder.

Tagged:cwp custom account templates

Related Articles

  • cPanel Compatibility

  • Install dotnet SDK and running a Project Example

  • Install Django

  • How to Deploy Django Apps using Apache with mod-wsgi and nginx

  • How to Install and Setup Node.Js on CWP

  • Internationalized Domain Name (IDN) Conversion Tools






Donate for Development of CWP el7

Categories

  • 3rdParty 2
  • Apache 22
  • API 1
  • Backups 1
  • Clusters 3
  • Development 5
  • DNS 7
  • E-Mail 21
  • FTP 7
  • License 2
  • Load-Balancers 2
  • Migrations 4
  • MySQL 10
  • Nginx 2
  • Other 18
  • Other Databases 3
  • PHP 17
  • Scripts 2
  • Security 27
  • shell-scripts 1
  • SSL/AutoSSL 2
  • Testing 2
  • Updates 6
  • User-Panel 4

Popular Articles

  • Services Monitor
  • How to install mod_cloudflare
  • Notifications in control panel
  • Hide system processes from users
  • CWP Demo
  • Invalid Session in the panel

Latest Articles

  • Enable WebDAV Per User Basis
  • Nginx Proxy: ERR_TOO_MANY_REDIRECTS
  • Postfix send email from dedicated ip address
  • The Future of CentOS Stream with CWP
  • MariaDB Upgrade from 10.1 to 10.2
  • Roundcube Update
  • Apache Proxy Timeout with PHP-FPM
  • catch-all emails
  • cPanel Compatibility
  • How to Configure PHP options under CWP-Admin and CWP-User
  • Install MSSQL Freetds extension with PHP 5.x.x
  • Install MSSQL Freetds extension with PHP 5.x
  • Policyd - Limit emails per hour
  • Install dotnet SDK and running a Project Example
  • How to install KernelCare on CWP servers
  • Recalculate mailbox quota
  • Cgroups - Limits per User
  • How to filter (spam) emails with the roundcube
  • Install Django
  • How to Deploy Django Apps using Apache with mod-wsgi and nginx
  • How to disable dangerous php functions
  • Install Composer - PHP dependency manager

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
  • Home
  • FAQ
  • Main Website
  • Forum
  • Facebook
  • YouTube
© Copyright, CWP Wiki