Plan settings on the Plans page allow to configure template locations, payment intervals and promotions.
To access plan settings:
This page is reserved for Parallels H-Sphere development and debugging and should not be used in production control panels.
For example, you have a plan called 'SPECIAL', where the Template Directory parameter is set to special/ and the current skin is set to 'No Menu'. When the system tries to find, for instance, the design/login.html template, it will first scan the ~cpanel/shiva/shiva-templates/nomenu/replacements/special/design/
directory, and if fails, it moves on to the ~cpanel/shiva/shiva- templates/nomenu/design/
directory in search of this template.
As seen from the above, the Template Directory parameter is NOT used for creating custom templates. Instead, when a new plan is added to the system, plan-specific templates are placed in this directory. Besides that, when you customize Parallels H-Sphere templates, you should check the replacements/ directory of each design location for plan-specific templates and customize them if necessary.
Promotions management: assign flexible discounts to the particular plan. One plan can have several associated promotions.
/hsphere/local/home/cpanel/shiva/psoft/hsphere/menu.xml
file. We use the menuId variable to specify the menu type. These are the standard menu types for the corresponding Parallels H-Sphere plan types:unix
- Unix plan;admin
- Admin plan;ttadmin
- Trouble Ticket Admin plan;bill
- Billing plan;reseller
- Reseller plan;winduz
- Windows plan;real
- Real Server plan;mysql
- MySQL Only plan;email_only
- E-Mail Only plan;vps
- VPS plan.
You can add your custom menu to menu.xml and specify the custom menuId
in the form to assign it to the plan. In menu.xml, you should add the new menudef
tag:
<menudef id="custom_menuId">
...
</menudef>
Note: Menu customization should be done very carefully, according to the Menu Customization Documentation (Customization Guide).
WARNING: If you set an incorrect value to menuId or leave this field empty in the form, the left menu in your Control Panel won't show up!