Wiki source code of Layoutumschaltung via URL
Last modified by Carina Enke on 12.01.2024
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
27.1 | 1 | Precondition is the existing theme configuration. |
![]() |
7.1 | 2 | |
| |
27.1 | 3 | The URL based dependence of themes is to be configured in the file "extendedContext.xml". |
| 4 | Therefore add the following element to the bean (<bean id="themeModule" class="de.bps.olat.core.gui.themes.ThemeModule">): | ||
![]() |
7.1 | 5 | |
![]() |
21.1 | 6 | {{code language="xml" title="Codeblock"}} |
![]() |
7.1 | 7 | <property name="urlBasedThemes"> |
![]() |
24.2 | 8 | <map> |
| |
27.1 | 9 | <entry key="www.an-example-url.com/lms-path" value-ref="bean_id_of_an_existing_theme" /> |
| 10 | <entry key="www.an-example-url.com/lms-path" value-ref="theme1" /> | ||
| 11 | <entry key="www.an-example-url.com/lms-path" value-ref="theme2" /> | ||
![]() |
24.2 | 12 | </map> |
![]() |
7.1 | 13 | </property> |
| 14 | {{/code}} |
