Customers are being provided a facility to 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 :
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.
Leave a Reply
You must be logged in to post a comment.