Home > News archive

ILIAS (13)

Embedding Adobe Flash Applets in ILIAS Test & Assessment

2009-08-01 10:49 by Helmut Schottmüller

Documentation for Flash Questions available

aurealis created a short documentation on how to use and embedd Adobe Flash applets into ILIAS Test & Assessment questions. The PDF file containing the documentation is available for Download.

Please contact me if you need the DocBook source of this documentation for further processing.

Creating your own ILIAS skins

2008-08-27 16:36 by Helmut Schottmüller

Creating your own ILIAS skins

I you like to adjust your ILIAS system to use your own logo or you own corporate design, it is crucial that you do not change the original ILIAS files in order to prevent these file from overwrite during the next system update or maintenance release.
ILIAS offers you a mechanism to define your own skins and styles for an installation. This article gives you a short introduction to complete this task.
Before I go into details, please note that this howto only works with ILIAS versions greater or equal than ILIAS 3.8.0.

Creating your own skin

In order to create your own skin in ILIAS you first have to create a folder for the skin in the filesystem. For this task I assume that you will name our own skin with "company". Therefore you have to create the skin folder under your ILIAS system folder. Please add the following directories (some may already exist):
Customizing/global/skin/company

Now you have to create an XML file template.xml in this directory which contains all the necessary information ILIAS needs to know that this directory contains an ILIAS skin. The file contains the name of the skin and at least one location of a style. You can of course support multiple styles for your skin but in this howto we only create one style. The content of template.xml is:

template.xml file

The text file is available for download.

To create a fully functional skin you now have to create the style file you just defined in the template.xml file. I assume that you do not want to reinvent the wheel so I am showing you now how to add a little variation of the usual ILIAS style (called delos). What I do is to copy the original ILIAS delos style file to the location where the skin expects our new style file. The original delos style is located in

templates/default/delos.css

while your new style has to be named after the id attribute in your template file followed by the extension .css. So the copy of delos.css has to be created into

Customizing/global/skin/company/company.css

The original delos.css file uses some images which are part of the CSS styles. All these images are located in the images directory of the default template directory, so please copy the complete directory

templates/default/images 

into your skin directory. All the images are addressed relative so the styles are working in the new location without any changes.

Activating the skin

That's it (ok, you only have a skin which looks similar to the default ILIAS skin but I will go further in the next part ot the howto). You can test your new skin by activating the skin in ILIAS. Please change into ILIAS, open your personal desktop, select the "Personal Profile" tab and change the Skin/Style selection in the Settings section to "company / company". If you do not see the company skin than something went wrong with the template.xml file or the file may not be readable due to wrong permission settings. After saving the new setting you will recognize that NOTHING changed (hopefully!). The only way to see at this point that ILIAS now runs with your own company skin is to have a look into the source code of an arbitrary ILIAS page. Somewhere in the head of the page you should find the following statement:

... link rel="stylesheet" type="text/css" href="./Customizing/global/skin/company/company.css ...

Changing ILIAS-Templates

To change the color or other style properties you just have to modify the style file company.css. I will not go into details here. This is the job of a web designer. To see which styles are used in some typical ILIAS components you have to look inside the the HTML source code of the pages of interest. There is no external element style documentation. To change existing ILIAS templates, you don't need to modify the template files directly. Just copy the template files you want to change from the templates/default directory into your skin directory.
To show an example I will replace the ILIAS logo with our company logo. Therefore please copy the company logo into the image folder of your skin. In this example, the logo file has a width of 210 pixels, a height of 44 pixels. and it comes with the name company.png:

Company logo

Now you have to change the ILIAS template that contains the head of the page and the main navigation. Please copy the file

templates/default/tpl.main_buttons.html

into your skin directory and change the code for the embedded logo from

Original code for ILIAS logo

to

New logo code

Save the file to Customizing/global/skin/company/tpl.main_buttons.html. Now you have to change the background of the main navigation to match the colors of the company logo. Have a look at the HTML code of the template. You will see that the style responsible for the main navigation bar is the style selector "ilMainHeader".

Change the already existing entry div.ilMainHeader in your style file company.css from

Original main navigation CSS style

to

New main navigation CSS style

Together with some other minor changes the result is looking like this if you reload one of the pages in ILIAS:

Example page with new company logo

Important ILIAS template

Below you'll find some of the most important ILIAS templates you might want to change if you create your own company skin:
  • templates/default/tpl.main_buttons.html
    ILIAS head with main navigation and logo
  • templates/default/tpl.login.html
    ILIAS logon page
  • templates/default/tpl.locator.html
    ILIAS locator which shows the path to the current page in the repository
  • templates/default/tpl.adm_content.html
    Main template for most ILIAS pages. This is the "body" for over 90 percent of the output

Overwriting templates and style of ILIAS modules

Not only the ILIAS core templates could be changed. It is also possible to change templates and syles of ILIAS modules such as Test & Assessment. ILIAS modules can be found in the Modules folder of your ILIAS installation.

What you have to do to modify module templates is to create a Modules folder in your skin folder. If you want to modify the template to show the participants of a test in ILIAS Test & Assessment, just copy the responsible template file

Modules/Test/templates/default/tpl.il_as_tst_participants.html

to the new module position in you skin:

Customizing/global/skin/company/Modules/Test/tpl.il_as_tst_participants.html

In other words, you create the folders Modules/Test in your skin folder and copy the desired template file into this newly created folder. In there you can modify the template in the same way as described above.

Conclusion

ILIAS customizing is way to change the ILIAS layout with your individualised CI. These changes could be applied by single users or for all users using the ILIAS system administration. The great advantage of this customization is the independence of your changes from ILIAS bug fixes and minor releases. Of course you should check if a bug fix or a release change changes style definitions or adds/removes styles or content templates. Another advantage is the fact that a skin can be applied simply by copying all the files into the Customizing folder of another ILIAS installation.

Image gallery

2008-02-18 12:00 by Helmut Schottmüller

Implementation of an image gallery object for Helmholtz-Mentoring project management of the German Aerospace Center (DLR).

The image gallery module allows the upload of single images or ZIP-files containing multiple images. It uses the LightBox JavaScript engine to display the gallery images.

User administration

2007-11-18 12:00 by Helmut Schottmüller

Extension of the ILIAS Open Source user administration for Qualitus GmbH.

The extension contains

  • Activate/deactivate selected users
  • Activate/deactivate limited access for users
  • Export of selected users
  • User filters (Activities, Course Membership, Group Membership, Role Membership)
The extension was realized as part of the ILIAS Open Source core.

Webservice interface

2007-11-11 12:00 by Helmut Schottmüller

Implementation of a SOAP service of the ILIAS Open Source Test & Assessment module for the Helmut Schmidt University of the Federal Armed Forces Hamburg.

Additional to the SOAP server component a Java based SOAP client for Java Applets of the Department of Standardization and Technical Drawing was developed to use Java Applets in ILIAS Test & Assessment.

The webservice interface for Test & Assessment is part of the official ILIAS Open Source distribution.

Workshop at the University of Applied Sciences in Bremen

2007-03-17 12:00 by Helmut Schottmüller

Conducted a ILIAS development workshop at the University of Applied Sciences in Bremen for staff members.
The workshop concerning the development of ILIAS Test & Assessment took about 4 hours. ILIAS (AULIS) is the official e-learning solution of the University of Applied Sciences in Bremen.

Matrix questions

2007-02-01 12:00 by Helmut Schottmüller

Matrixfragen

Implementation of a matrix question type in ILIAS Open Source surveys for Qualitus GmbH.

A matrix question is a complex survey question that allows multiple items to be rated side-by-side.

 

Matrixfrage in ILIAS Open Source

Matrix questions for surveys are part of the official ILIAS Open Source distribution.

Test certificates

2006-12-05 12:00 by Helmut Schottmüller

Implementation of test certificates in ILIAS Open Source for Qualitus GmbH.

Using a JavaScript based WYSIWYG editor (tinyMCE) an author can create test certificates using template variables to access test and user relevant data. The certificates are presented to the test participants when a test is completed.

Test certificates are part of the official ILIAS Open Source distribution.

Test & Assessment Logging

2006-05-22 12:00 by Helmut Schottmüller

Added changelogs in ILIAS Open Source Test & Assessment for the Helmut Schmidt University of the Federal Armed Forces Hamburg.

Tracking changes in Test & Assessment help to solve conflicts with test and question changes. The action of changing a question or changing the scoring of a participant has to be logged.

The changelog also logs participants answers to questions.

The Test & Assessment changelog is part of the official ILIAS Open Source distribution.

Varying Random Tests

2005-12-08 12:00 by Helmut Schottmüller

Implementation of varying random tests in ILIAS Test & Assessment for Qualitus GmbH.

Varying random tests use different question selections for every test pass.

Varying random tests are part of the official ILIAS Open Source distribution.

User export

2005-08-08 15:12 by Helmut Schottmüller

Implementation of an XML user export in ILIAS Open Source for the Helmut Schmidt University of the Federal Armed Forces Hamburg. 

The XML user export is part of the official ILIAS Open Source distribution.

 

Survey tool

2004-08-01 12:00 by Helmut Schottmüller

ILIAS Umfrage Modul

Conceptual design and implementation of a survey tool in ILIAS Open Source for the Helmut Schmidt University of the Federal Armed Forces Hamburg.

 

In ILIAS you could use surveys to easily collect information from a large number of ILIAS users, for example to evaluate courses or other events. ILIAS surveys are easy to create and administer, even for non-experienced users. With a sufficient basis of survey questions, teachers could create their own evaluations fast and efficient.

ILIAS offers you a broad variety of statistical evaluation methods but it does not claim to be an expert system in statistical evaluation. Thus you are able to export your survey results to CSV (comma separated values) or Microsoft Excel to do your statistical analysis with expert systems like SPSS. The survey tool contains:

 

  • Creation and use of question pools to store survey questions
  • Survey question types: Essay questions, Matrix questions, Metric questions, Nominal questions, and Ordinal questions
  • Personalized and anonymized surveys
  • Question blocks in surveys
  • Preconditions for survey questions and question blocks
  • Statical evaluation and export (CSV, Microsoft Excel)
  • Statistical evaluation with cumulated and per user results
ILIAS Umfrage Modul
Preview of a matrix question

Matrix questions are part of the official ILIAS Open Source distribution.

Test & Assessment

2004-01-15 12:00 by Helmut Schottmüller

ILIAS Test & Assessment

Conceptual design and implementation of a test & assessment tool in ILIAS Open Source for the Helmut Schmidt University of the Federal Armed Forces Hamburg.

ILIAS test & assessment comes with the following characteristics:

  • Creation and use of question pools to store questions
  • Question types: Single Choice, Multiple Choice, Fill-in-the-blank, Ordering questions,Matching questions, Imagemap questions, Numeric questions, Essay questions, Text subsets, Java Applet questions
  • Various test types: Self assessment, Online tests, Exams, Timed tests etc.
  • Random tests
  • LaTeX support for mathematical formulae
  • Various statistical and export (CSV, Microsoft Excel) options
  • Support of the IMS QTI 1.2 standard for assessments
ILIAS Test & Assessment
Preview of a drag and drop matching question

Test & Assessment is part of the official ILIAS Open Source distribution.