Inhaltsverzeichnis

Server Settings for the Corporate Identity

This manual describes how to adapt a local installation of SoSci Survey to your needs with regard to its external appearance.

You can specify a logo that is used (a) in the login window and (b) as the default logo in all survey projects.

Upload the logo to the server into the directory /local/ and then enter the file name in the Server Settings → Configuration, in the tab Server, as Default Logo, e.g.,

  local/example.png

Users can still change the logo in the survey project under Footer and Logo, regardless of this default.

Default Contact Information

By default, SoSci Survey places contact information (imprint) in the footer of the questionnaire, which contains the name and email address of the person responsible for the project. However, you can also specify other default contact information:

Server Settings → Configuration, in the tab Defaults → Default contact information (footer)

You can use HTML code for the contact information.

Users can still change the contact information in the survey project under Footer and Logo, regardless of this default.

Custom Layout

In SoSci Survey, you can create a questionnaire layout according to your needs (Questionnaire Layout). Once you have developed a layout according to your CI, you can set it as the default layout for all survey projects.

To do so, export the layout as an XML file, and upload this XML file to the directory /local/ on the server.

In addition, take a screenshot of the layout, scale/crop it to the format 180 x 180 pixels, and upload this screenshot to the directory /local/ as well.

Then add information about the layout to the file /system/config.php and set it as the default for all survey projects.

// Default layout to be used
$GLOBALS['oFb']['layout'] = 'example';
 
// Information about to layout
$GLOBALS['oFb']['features']['layouts']['example'] = [
    'order' => 1,
    'url' => 'local://layout.example.xml',
    'comment' => 'Example Layout',
    'img' => 'local/layout.example.png'
];

Customizing the User Interface

By means of a CSS file, e.g., /local/local.css, it is also possible to customize the user interface. Such a file could, for example, refer to a header bar in a color other than orange.

#GlobalBar {
    background: url(GlobalBar.pink.png);
}

For the CSS file to become active, it must be referenced in the configuration file /system/config.php:

// Add custom CSS file for the user interface
$GLOBALS['oFb']['files']['css.local'] = '../local/local.css';

Note: The HTML structure of the user interface may change, therefore we advise against extensive customizations.