I have a web hosting account with H-Sphere control panel. can anyone tell me what are H-Sphere templates.
H-Sphere templates is basically what lays behind the H-Sphere Control Panel Web interface. For the most part, templates are written using Freemarker Java processing language for dynamic content generation.
What is the Location of Templates in H-Sphere control panel.
Location of Templates
1) Template root directory
2) Default (common) design directory
3) Custom template directory
InTemplate root directory:-
H-Sphere template root directory is by default /hsphere/local/home/cpanel/shiva-templates. It is set by the TEMPLATE_PATH parameter in the ~cpanel/shiva/psoft_config/hsphere.properties file:
TEMPLATE_PATH = /hsphere/local/home/cpanel/shiva/shiva-templates/
2) Default (common) design directory
Design, or skin, is the Control Panel GUI representation. Each design is defined by its own sets of templates, images, CSS styles, JavaScripts, etc. The most important part of GUI, templates, are placed in separate subdirectories of the template root directory in accordance to a design they belong to. The special common subdirectory is used to store templates that are the same for different designs. Also, this directory contains templates for the Left Menu design which is the default H-Sphere design. The path to this directory, relative to TEMPLATE_PATH, is set in hsphere.properties:
DEFAULT_TEMPLATES = common/
3) Custom template directory
Custom template directory is usually /hsphere/local/home/cpanel/shiva/custom/templates. Its location is set in hsphere.properties:
USER_TEMPLATE_PATH=/hsphere/local/home/cpanel/shiva/custom/templates/
Custom templates directory structure should correspond the default template root directory (shiva-templates) tree. However, you should be aware that templates in the custom template directory override the corresponding templates in the default template directory, thus all modifications and new features in existing default templates coming with new H-Sphere releases would be also overriden by custom templates. Therefore, only customized templates should be placed to your custom template directory.
Types of Templates
* System E-Mail Notification Templates
* Skeletons
* Web Interface Templates
o Main Templates
o Control Templates (Controls)
o Submit Templates (Submits)
o Function Templates
o Templates For Special Purposes
o Context Help Templates
Leave a Reply