Änderungen von Dokument Layoutumschaltung via URL

Zuletzt geändert von Moritz Baumgarten am 26.11.2025

Von Version 27.1
bearbeitet von Moritz Baumgarten
am 26.11.2025
Änderungskommentar: Migrated property [stableId] from class [Confluence.Code.ConfluencePageClass]
Auf Version 25.4
bearbeitet von Carina Enke
am 15.01.2024
Änderungskommentar: Update document after refactoring.

Zusammenfassung

Details

Seiteneigenschaften
Übergeordnete Seite
... ... @@ -1,1 +1,1 @@
1 -LMS.Benutzerhandbuch OPAL.Administration.Technische Dokumentationen.WebHome
1 +LMS.BenutzerhandbuchOPAL.Administration.Technische Dokumentationen.WebHome
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.moritz
1 +XWiki.carina
Inhalt
... ... @@ -19,4 +19,20 @@
19 19  {{/layout-section}}
20 20  {{/layout}}
21 21  
22 -
22 +
23 +
24 +
25 +Precondition is the existing theme configuration.
26 +
27 +The URL based dependence of themes is to be configured in the file "extendedContext.xml".
28 +Therefore add the following element to the bean (<bean id="themeModule" class="de.bps.olat.core.gui.themes.ThemeModule">):
29 +
30 +{{code language="xml" title="Codeblock"}}
31 +<property name="urlBasedThemes">
32 + <map>
33 + <entry key="www.an-example-url.com/lms-path" value-ref="bean_id_of_an_existing_theme" />
34 + <entry key="www.an-example-url.com/lms-path" value-ref="theme1" />
35 + <entry key="www.an-example-url.com/lms-path" value-ref="theme2" />
36 + </map>
37 +</property>
38 +{{/code}}