You can customize the way questions look in the Player and the Developer by editing the resources.xml and question.css files in the question template. This enables you to customize the question default text to match a localized Player or Developer interface. These files are in the Standard template in the Question Templates folder under the System folder.

The resources.xml file is the language resource file that contains question template specific language elements such as button text, and Question and Response heading text. The question.css file is the style sheet that controls icons and header elements such as background color.

 

Warning! All customizations to questions must be done in the Standard template in the Question Template folder. These customizations are overwritten when you upgrade your software. It is recommended that you create a copy of the Standard template in the Question Templates folder. This provides a backup so you can restore the original if necessary. When you are done customizing the Standard template, copy and rename the copy. The Standard template is overwritten when you upgrade your software but the copy is preserved so you can reapply your customizations.

 

.


Customize the resources.xml file

You can customize the text for any of the HTML_strings in the resources.xml file. These changes can appear in both the Developer and the published output depending on the string you modify and the format you publish.


You can customize the standard question text, such as the OK button or the Question heading text, if your company uses different terminology in questions. Open the resources.xml file in any text editor and edit the appropriate lines. For example, if you want to change the OK button text to YES, find the Html_Response element and change the text from OK to YES as in the following example.


<Html_OK xml:id="Html_Response">OK</Html_OK>
<Html_OK xml:id="Html_Response">YES</Html_OK>


The Standard template is located in the System/Question Templates folder in the Library. The resources.xml file is located inside the lang/<language code> folder. The resources.xml file is also located in lang folder for each language in the published output.


Customize the question.css file

You can customize the look of the Question header, Response header and Assessment bar of questions in the Player and Developer. You can replace the Question and Response icons, change border and background colors of the headers and the font of the header text by editing the appropriate lines in the question.css file. For example, if you want to increase the font size of the text in the Assessment Bar, find the .AssessmentBar element in the question.css file and change the font from 10px to the desired font.


The Standard template is located in the System/Question Templates folder in the Library. The question.css file is located at the root of the template package.


The following elements are fully customizable. Additional elements in the question.css file can be customized for appearance (for example, font) but not for positioning. Only properties that already exist for the element can be customized. No new additional properties can be added.

Warning! Customization of any other files is not supported.


Table of Contents  Back

Customize_Question_Elements