Parallels H-Sphere Documentation Developer Guide


Account Preferences


Related Docs:   Understanding Templates Skin And Icon Set Customization

Last modified: 28 Dec 2007


WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the official Parallels site.

You can set individual interface preferences: preferred design (skin), icon set, or language - for a particular account.

This can be implemented within an H-Sphere template by using the following Freemarker commands:

  • <assign res = account.preferences("KEY", "VALUE")> - set account preferences.


    KEY is the key of an interface preference to be assigned to an account (up to 64 chars),
    VALUE is its value (up to 256 chars).

    The following keys are available in H-Sphere (refer to the Skin And Icon Set Customization document in Customization Guide for detailed description of the ~cpanel/shiva/psoft/hsphere/design_config.xml file):

    design_id - preferred design id (in design_config.xml);
    icon_image_set - preferred icons image set (in design_config.xml);
    skill_icon_set - preferred icons skill set (in design_config.xml);
    lang - preferred language.

    For example, to assign the XPressia design for an account:

    <assign res = account.preferences("design_id", "xcp")>

  • <assign property1 = account.preferences("KEY")> - retrieve account preferences.

Related Docs:   Understanding Templates Skin And Icon Set Customization

© Copyright 2018. Parallels Holdings. All rights reserved.