|
Last modified: 28 Dec 2007
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.
Here:
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.
|