Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 27.05.08, 19:26
Forum Zuschauer
 
Registriert seit: 21.12.07
Beiträge: 4

Template & TpoScript


Hallo zusammen,

ich habe ein Problem mit dem folgenden TypoScript beim Einbinden eines Templates. Das Template besitzt die Elemente ###MENU1### (horizontales Menü), ###MENU2### (vertikales Menü), ###CONTENT### und ###FOOTER###.

Leider wird der Content (Zeile 89) nicht angezeigt. Weiß hier jemand Rat?

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
#config.doctype = xhtml_11
config.doctype = xhtml_strict

page = PAGE
page {
bodyTag = <body>
includeCSS {  
file1 = fileadmin/wgu/style.css
}
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/wgu/template.html
relPathPrefix = fileadmin/wgu/

workOnSubpart = DOKUMENT
marks {
MENU1 = HMENU
MENU1 {

special = directory
special.value = 8
1 = TMENU
1.noBlur = 1
1.wrap=|

1.NO = 1
1.NO.linkWrap = <li class="lvl0">|</li>

1.ACT = 1
1.ACT < .NO
1.ACT.allWrap = <li class="lvl0">|</li>
}



            # sec_navigation cObject
MENU2 = HMENU
MENU2 {
                ## the level where the menu starts
entryLevel = 3

                ## Second level menu-object, textual
1 = TMENU
1 {

expAll = 1

                    # Normal state properties
NO.allWrap = <li class="lvl1"> | </li>
NO.stdWrap.htmlSpecialChars = 1

                    # Enable active state and set properties:
ACT = 1
ACT.allWrap = <li class="lvl1" id="current2"><strong> | </strong></li>
ACT.stdWrap.htmlSpecialChars = 1
}
2 = TMENU
2 {
                    # Normal state properties
NO.allWrap = <li class="lvl2"> | </li>
NO.stdWrap.htmlSpecialChars = 1
                    # Enable active state and set properties:
ACT = 1
ACT.allWrap = <li class="lvl2" id="current2"><strong> | </strong></li>
ACT.stdWrap.htmlSpecialChars = 1
}
}    


CONTENT = COA
CONTENT {
10 = HMENU
10 {
special = rootline
special.range = 2|-1
1 = TMENU
1.noBlur = 1
1.wrap = <ul id="breadcrumb"> | </ul>
1.NO.linkWrap = <li>&raquo; |  </li>
1.NO.ATagTitle.field = title
1.NO.ATagTitle.noTrimWrap = | zur Seite: |
1.CUR = 1
1.CUR {
linkWrap = <li>&raquo; | </li>
                        #doNotLinkIt = 1
}
}
20 < styles.content.get
}


FOOTER  = HMENU
FOOTER {
special = directory
special.value = 3
1 = TMENU
1.noBlur = 1
                #1.wrap=<ul>|</ul>

1.NO = 1
1.NO.linkWrap = <li class="lvl1">|</li>

1.ACT = 1
1.ACT < .NO
1.ACT.allWrap = <li class="lvl1">|</li>
}
}
}
}
Ich würde mich freuen, wenn hier jemand helfen könnte!

Viele Grüße
Morjo


PS: was heißen eigentlich die grün markierten Stellen im TypoScript?

Geändert von Morjo (27.05.08 um 20:59 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Seite basierend auf anderem Template in Template einbinden? Danwe TYPO3 4.x Fragen und Probleme 2 19.03.08 11:12
template in ein vorhandenes template einbinden µaTh TYPO3 3.x Fragen und Probleme 2 16.10.07 13:08
Template Desaster - Vorlage sieht anders aus als Template Damned TemplaVoila 2 16.01.07 13:45
Neues Template angelegt: No template found! Lissy TYPO3 4.x Fragen und Probleme 0 17.10.06 09:37
Anpassen Standard Template "template: tu" Jwill55 TYPO3 3.x Fragen und Probleme 1 24.10.05 17:12


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:08 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0