Hallo,
ich möchte eine mehrsprachige Seite mit unterschliedlichen Menupunkten je Sprache aufbauen (multi tree)
Leider habe ich dazu wenig Tutorial gefunden.
Das Problem: wenn ich zwei Rootpages anlege funktioniert die Seite nicht mehr. (Templates werden nicht geladen. Könnte mir jemand erklären wie ich das am besten machen kann?
Hier meine page.ts:
page = PAGE
page {
config.contentObjectExceptionHandler = 1
config.baseURL = https://localhost/vws-f1/
config.absRelPath = /
config.tx_realurl_enable = 1
# setzt den html Tag im Seitenheader z.B. für html5 Seiten
config.htmlTag_setParams = lang="de"
# Wird benötigt um automatisch die Srachdateien in Extensions zu finden
config.language = de
# Angabe für php um sprachspezifische Ausgabe zu ermöglichen, z.B. Datumsformat
config.locale_all = de_DE.UTF-8
#Linkvariable für die Sprache setzten
config.linkVars = L
# Bei der empfohlenen Einstellung "content_fallback" bleibt das Frontend
# in der entsprechenden Sprache auch wenn die Seite nicht übersetzt ist:
# Die Menüs werden immer noch in der richtigen Sprache angezeigt, der
# Content wird in der Standardsprache angezeigt.
config.sys_language_mode = content_fallback
# Nicht übersetzter Content: Content in Default anzeigen
config.sys_language_overlay = 1
lib.currentPageId = TEXT
lib.currentPageId.data = TSFE:id
meta{
viewport = width=device-width, initial-scale=1, maximum-scale=1
}
footerData {
20 = TEXT
20.value (
)
}
10 = FLUIDTEMPLATE
10 {
file = fileadmin/templates/content/template.html
partialRootPath = fileadmin/templates/content
layoutRootPath = fileadmin/layout
variables {
search < styles.content.get
search.select.where = colPos=3
content < styles.content.get
content.select.where = colPos=0
footer < styles.content.get
footer.select.where = colPos=2
logo < styles.content.get
logo.select.where = colPos=1
}
}
includeCSS.bootmin = fileadmin/bootstrap/css/bootstrap.min.css
includeCSS.font = https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
includeCSS.line = fileadmin/bootstrap/css/et-line.css
includeCSS.carousel = fileadmin/bootstrap/css/owl.carousel.css
includeCSS.megamenu = fileadmin/bootstrap/css/mdf_megamenu.css
includeCSS.mega = fileadmin/bootstrap/css/mega.css
includeCSS.general = fileadmin/css/style.css
includeCSS.responsiveTable = fileadmin/css/responsive-table.css
includeCSS.facebox = fileadmin/css/facebox.css
includeJS.jquery = fileadmin/bootstrap/js/jquery-1.9.1.min.js
includeJSFooter.mdf = fileadmin/bootstrap/js/mdf_js.min.js
includeJSFooter.carousel = fileadmin/bootstrap/js/owl.carousel.min.js
includeJSFooter.gmap = fileadmin/bootstrap/js/gmap3.min.js
includeJSFooter.bootjs = fileadmin/bootstrap/js/bootstrap.min.js
includeJSFooter.facebox = fileadmin/bootstrap/js/facebox.js
}
}