Depends on if you're making a copy of the default template or rounded template. My instructions are a copy of the default template. A copy of the rounded template would be done as follows.
Copy: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/rounded
As: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/custom
Edit: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/custom/xml/edit.template.xml
FROM:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<cbxml version="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../../../../../cb/validation/ahawow.xsd">
<license>GNU General Public License version 2 http://www.gnu.org/licenses/old-licenses/gpl-2.0.html</license>
<types>
<type name="templates_list" base="list" valuetype="string">
<option value="rounded">Rounded template</option>
</type>
</types>
<templateglobalsettings>
<if name="template" operator="=" value="template" valuetype="param:string" type="showhide">
<fieldset name="currenttemplatesettings" label="Specific settings for the Rounded template" description="">
</fieldset>
</if>
</templateglobalsettings>
<templateplansettings>
<css file="templates/rounded/cbpaidsubscriptions.css" />
<if name="template" operator="=" value="template" valuetype="param:string" type="showhide">
<fieldset name="currenttemplatesettings" label="Specific settings for the Rounded template" description="<img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/rounded/images/membership_icon.png" alt="" />">
<params name="params" type="params">
<param name="template_rounded_icon" type="radio" default="" label="Icon" description="Icon for plan/subscription">
<option value="">None</option>
<option value="yellow">Yellow</option>
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
</param>
</params>
</fieldset>
</if>
</templateplansettings>
</cbxml>
TO:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<cbxml version="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../../../../../cb/validation/ahawow.xsd">
<license>GNU General Public License version 2 http://www.gnu.org/licenses/old-licenses/gpl-2.0.html</license>
<types>
<type name="templates_list" base="list" valuetype="string">
<option value="custom">Custom template</option>
</type>
</types>
<templateglobalsettings>
<if name="template" operator="=" value="template" valuetype="param:string" type="showhide">
<fieldset name="currenttemplatesettings" label="Specific settings for the Custom template" description="">
</fieldset>
</if>
</templateglobalsettings>
<templateplansettings>
<css file="templates/custom/cbpaidsubscriptions.css" />
<if name="template" operator="=" value="template" valuetype="param:string" type="showhide">
<fieldset name="currenttemplatesettings" label="Specific settings for the Custom template" description="<img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/custom/images/membership_icon.png" alt="" />">
<params name="params" type="params">
<param name="template_rounded_icon" type="radio" default="" label="Icon" description="Icon for plan/subscription">
<option value="">None</option>
<option value="yellow">Yellow</option>
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
</param>
</params>
</fieldset>
</if>
</templateplansettings>
</cbxml>
Rename: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/custom/rounded.php
To: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/custom/custom.php
Rename: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/custom/custom.xml
To: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/custom/custom.xml
Edit: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/templates/custom/custom.xml
FROM:
Code:
<name>Rounded</name>
TO:
Code:
<name>Custom</name>
FROM:
Code:
<description>CBSubs template plugin for the rounded template.</description>
TO:
Code:
<description>CBSubs template plugin for the custom template.</description>
FROM:
Code:
<filename plugin="rounded">rounded.php</filename>
TO:
Code:
<filename plugin="custom">custom.php</filename>
That should be all you need to do for it to install and can then edit the files however you like. For the most part you shouldn't need to do this though as it can be styled entirely using CSS in most cases.