<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; cwp custom account templates</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/cwp-custom-account-templates/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Custom Account Templates</title>
		<link>https://wiki.centos-webpanel.com/custom-account-templates</link>
		<comments>https://wiki.centos-webpanel.com/custom-account-templates#comments</comments>
		<pubDate>Mon, 24 Jun 2019 09:13:26 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[cwp custom account templates]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1189</guid>
		<description><![CDATA[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 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Custom HTML templates for</strong><br />
- suspended account template<br />
- create a new account template</p>
<div class="st-alert st-alert- "><em>* Custom templates are required if you plan to make custom changes as default templates get overwritten on each CWP update.</em></div>
<p>* 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.</p>
<p><strong>Suspended Account Template</strong><br />
To activate custom HTML templates for suspended accounts you need to create custom folder and add in it your index.html file<br />
/usr/local/cwpsrv/htdocs/resources/admin/tpl/suspend_account_tpl_custom/</p>
<p>Nginx &#038; Apache read custom templates for suspended pages from this location so you would need to modify it there also<br />
/usr/local/apache/htdocs/suspended-page/</p>
<p>Disabling Custom Templates for Suspended Accounts<br />
If you want to disable custom templates you made and activate cwp default you will need to delete your custom created folder<br />
/usr/local/cwpsrv/htdocs/resources/admin/tpl/suspend_account_tpl_custom/ and copy content of default to /usr/local/apache/htdocs/suspended-page/</p>
<p>You can do it like this<br />
rsync -av /usr/local/cwpsrv/htdocs/resources/admin/tpl/suspend_account_tpl/ /usr/local/apache/htdocs/suspended-page/</p>
<p><strong>New Account Template</strong><br />
To activate custom HTML templates for new accounts you need to create a custom folder and add in it your index.html file<br />
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl_custom/</p>
<p>Disabling Custom Templates for New Account<br />
If you want to disable custom templates you made and activate cwp default you will need to delete your custom created folder<br />
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl_custom/ </p>
<p>* 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.</p>
<p><strong>New Domain Template</strong><br />
To activate custom HTML templates for new accounts you need to create a custom folder and add in it your index.html file<br />
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_domain_tpl_custom/</p>
<p>Disabling Custom Templates for New Domain<br />
If you want to disable custom templates you made and activate cwp default you will need to delete your custom created folder<br />
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_domain_tpl_custom/</p>
<p>* This template is used when creating a new domain and it's copying the content from the template location to the domain created folder.</p>
<p><strong>New SubDomain Template</strong><br />
To activate custom HTML templates for new accounts you need to create a custom folder and add in it your index.html file<br />
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_subdomain_tpl_custom/</p>
<p>Disabling Custom Templates for New SubDomain<br />
If you want to disable custom templates you made and activate cwp default you will need to delete your custom created folder<br />
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_subdomain_tpl_custom/</p>
<p>* This template is used when creating a new subdomain and it's copying the content from the template location to the subdomain created folder.</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/custom-account-templates/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
