Hallo!
Ich habe ein TypoScript-Template erstellt, bei dem die Intro-Seite anders gestaltet sein soll. Deshalb habe ich dafür am Ende des TypoScript-Codes folgendes angefügt:
[globalVar = TSFE:id = 1]
seite >
seite = PAGE
# weitere TypoScript-Angabem
Leider wird die Intro-Seite trotzdem mit dem normalen Design dargestellt. Kann sich das jemand erklären?
MfG
Pascal
webcompas schrieb
Kann sich das jemand erklären?
Nicht ohne das komplette TS...
Hier das vollständige TypoScript-Template:
config.language = de
config.locale_all = de_DE
config.simulateStaticDocuments = 0
config.baseURL = http://test.testseite.de
config.tx_realurl_enable = 1
config.prefixLocalAnchors = all
config.doctype = xhtml_trans
config.xhtml_cleaning = all
config.htmlTag_langKey = de
seite = PAGE
seite {
config.additionalHeaders = Content-Type:text/html;charset=utf-8
config.metaCharset = utf8
includeCSS.file1 = fileadmin/templates/styles_main.css
bodyTagMargins = 0
bodyTagMargins.useCSS = 1
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/templates/main.tpl
marks {
MENU_TOP = HMENU
MENU_TOP.1 = TMENU
MENU_TOP.1 {
NO = 1
NO.allWrap = <td>|</td>
ACT = 1
ACT.ATagParams = class="act"
ACT.allWrap = <td>|</td>
}
MENU_LEFT = HMENU
MENU_LEFT.entryLevel = 1
MENU_LEFT.1 = TMENU
MENU_LEFT.1 {
NO = 1
NO.allWrap = <li>|</li>
CUR = 1
CUR.ATagParams = class="act"
CUR.allWrap = <li class="act">|</li>
}
}
}
###########################
# INTRO-Seite
###########################
[globalVar = TSFE:id = 1]
seite >
seite = PAGE
seite {
typeNum = 0
bodyTagMargins = 0
bodyTagMargins.useCSS = 1
includeCSS.file1 = fileadmin/templates/styles_main.css
10 = TEXT
10.value (
<table border="0" align="center" style="width: 100%; height: 100%">
<tr>
<td> </td>
<td width="579" align="center" valign="middle">
)
12 < styles.content.get
13 = TEXT
13.value (
</td>
<td> </td>
</tr>
</table>
)
[GLOBAL]
In deiner Condition fehlt eine schließende geschweifte Klammer
OK, damit funktioniert's jetzt! Vielen Dank!
MfG
Pascal