Layoutumschaltung via URL

Version 23.1 von Carina Enke am 20.12.2023
Warnung: Aus Sicherheitsgründen wird das Dokument in einem eingeschränkten Modus angezeigt, da es sich nicht um die aktuelle Version handelt. Dadurch kann es zu Abweichungen und Fehlern kommen.

Das Makro [layout] ist ein eigenständiges Makro und kann nicht inline verwendet werden. Klicke auf diese Nachricht, um Details zu erfahren.

{{/sv-translation}}

 

Precondition is the existing theme configuration.

The URL based dependence of themes is to be configured in the file "extendedContext.xml".
Therefore add the following element to the bean (<bean id="themeModule" class="de.bps.olat.core.gui.themes.ThemeModule">):

<property name="urlBasedThemes">
<map>
<entry key="www.an-example-url.com/lms-path" value-ref="bean_id_of_an_existing_theme" />
<entry key="www.an-example-url.com/lms-path" value-ref="theme1" />
<entry key="www.an-example-url.com/lms-path" value-ref="theme2" />
</map>
</property>

{{/sv-translation}}