[TYPO3-german] styles.content.get funktioniert nicht
Andreas Balzer
eMail at andreas-balzer.de
Fri May 19 13:30:55 CEST 2006
Hallo!
Ich nutze TYPO3 4.0.
ICh bin gerade dabei, ein spezielles Template zu erstellen, und habe
damit mehrere Probleme. Zum einen funktioniert styles.content.get nicht,
dass heißt, es werden keine Seiteninhalte angezeigt. Das zweite Problem
liegt darin, dass bei einem Klick aufs Menü die Sprache wieder
zurückgesetzt wird, da L=SPRACHE nicht angehangen wird. Wie geht das?
Was mache ich falsch?
Hier das TSC:
#Konstanten:
########################################################
foreignLanguageID = 1
languageVersion = English version
flagsmall = fileadmin/images/flags/us.gif
pagetitle = Afghanistan - Kinder in Not
[globalVar = GP:L>0]
foreignLanguageID = 0
languageVersion = Deutsche Version
flagsmall = fileadmin/images/flags/de.gif
pagetitle = Afghanistan - Children in need
[global]
content.wrap.header1 = <h1>| </h1>
content.wrap.header2 = <h2>| </h2>
content.wrap.header3 = <h3>|</h3>
content.wrap.header4 = <h4>|</h4>
styles.header = <h2>
PAGE_TARGET = _self
content.pageFrameObj = page
content.defaultHeaderType = 2
styles.content.imgtext.borderThick = 1
# Setup
#################################################################
config.sys_language_uid = 0
config.language = de
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
[global]
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/seiten/afghanistan/main.css
page.bodytag = <body>
page {
10 = HTML
20 = HTML
30 = HTML
40 = HTML
50 = HTML
60 = HTML
70 = HTML
80 = HTML
90 = HTML
100 = HTML
110 = HTML
120 = HTML
130 = HTML
140 = HTML
150 = HTML
160 = HTML
170 = HTML
180 = HTML
190 = HTML
200 = HTML
210 = HTML
220 = HTML
230 = HTML
240 = HTML
250 = HTML
260 = HTML
270 = HTML
280 = HTML
290 = HTML
300 = HTML
310 = HTML
320 = HTML
330 = HTML
340 = HTML
350 = HTML
360 = HTML
370 = HTML
380 = HTML
390 = HTML
400 = HTML
410 = HTML
420 = HTML
430 = HTML
440 = HTML
450 = HTML
460 = HTML
470 = HTML
480 = HTML
490 = HTML
500 = HTML
10.value = <div id="container">
20.value = <div id="conatiner2">
30.value = <div id="headercontainer">
40.value = <div id="headerlinks"></div>
50.value = <div id="headermitte">
60.value = <div id="logo"></div>
70.value = <div id="headerimagetext">{$pagetitle}</div>
80.value = <div id="headerpart">
90.value = <div id="headerseitentitelbg">
91 = TEXT
91.field = title
92 = HTML
92.value = </div>
100.value = <div id="headerseitentitel">
101 = TEXT
101.field = title
102 = HTML
102.value = </div>
110.value = </div>
120.value = </div>
130.value = <div id="headerrechts"></div>
140.value = </div>
150.value = <div id="menucontainer">
160.value = <div id="menulinks">
170.value = <table id="hauptmenu" name="hauptmenu" cellspacing="0"
cellpadding="0"><tr><td>
180.value = <table height="22px" class="navi" id="navi"
cellspacing="0" cellpadding="0">
190.value = <tr>
200 = HMENU
200.entryLevel = 0
200.special = directory
200.special.value=27
200 {
1 = TMENU
1 {
NO {
linkWrap = <td class="menutd">|</td>
ATagParams = class="Normal"
}
ACT {
linkWrap = <td class="menutd">|</td>
ATagParams = class="Active"
}
}
}
#200.value = <td class="menutd"><a href="#"
class="Active">Menua</a></td>
#210.value = <td class="menutd"><a href="#"
class="Normal">Menub</a></td>
220.value = </tr>
230.value = </table>
240.value = </td><td width="50px">
250.value = <table height="22px" class="hauptmenusub"
cellspacing="0" cellpadding="0">
260.value = <tr>
261 = HMENU
261.entryLevel = 0
261.special = directory
261.special.value=29
261 {
1 = TMENU
1 {
NO {
linkWrap = <td class="menutd">|</td>
ATagParams = class="Normal"
}
ACT {
linkWrap = <td class="menutd">|</td>
ATagParams = class="Active"
}
}
}
#270.value = <td class="menutd"><a href="#"
class="Normal">Kontakt</a></td>
280.value = </tr>
290.value = </table>
300.value = </td></tr></table>
310.value = </div>
320.value = </div>
330.value = <div id="content">
340 < styles.content.get
#340.value = <h1>Headline</h1>
#350.value = Hier steht ganz viel Text.<br>
#360.value = <br>
#370.value = <h2>Headline2</h2>
#380.value = <p>Text in p tag</p>
#390.value = <hr>
400.value = </div>
410.value = <div id="subnavigation">
411 = HTML
411.value = <table height="269px"><tr height="220px"><td>
412 = HTML
412.value = <img src="images/sidebarkasten.jpg" border="0"><br><br><img
src="images/sidebarkasten.jpg" border="0">
416 = HTML
416.value = </td></tr><tr><td>
417 = COA
417 {
10 =TEXT
10.value = {$languageVersion}
10.outerWrap = <table width="186px" border="0" cellspacing="0"
cellpadding="1"><tr><td colspan="3">__________________</td></tr><tr><td
width="12px"><img src="clear.gif" width="10px" height="26px"
alt=""></td><td><img src="{$flagsmall}" width="14px" height="11px"
border="0"></td><td>|</td></tr></table>
10.typolink {
parameter.data = page:alias // TSFE:id
additionalParams = &L={$foreignLanguageID}
}
}
}
418 = HTML
418.value= </td></tr></table>
419 = HTML
419.value = </div>
420.value = <div id="copyright">
430.value = Campaign initiated by Edith-Stein-Schule Erfurt.
www.ess-erfurt.de 2006
440.value = </div>
450.value = </div>
460.value = </div>
# static templates
################################
styles.content
content
css_styled_content
###########################################
Ich freue mich über jede Hilfe!
Grüße
Andreas
More information about the TYPO3-german
mailing list