Einzelnen Beitrag anzeigen
  #1  
Alt 24.10.07, 12:34
Benutzerbild von tob1as
tob1as tob1as ist offline
Forum Aktivist
 
Registriert seit: 02.10.07
Ort: Zürich
Beiträge: 85

Verständnisfrage - Templateerstellung


Hallo
Ich möchte folgende Aufteilung in meiner T3 Seite verwenden:

Das Template dazu hab ich erstellt, und die Bereiche Content, Topmenu und Submenu funktionieren.

Die beiden Navigationen sind statisch, der Content, wer hätte das gedacht, dynamisch.

Ich möchte nun in der rechten Spalte eine dynamische Navigation, damit zb. wenn ich links auf die Seite "News" klicke, alle Unterseiten von "News" erscheinen usw. bei jeder Seite.

Muss ich jetzt für jede "Hauptseite" ein neues Template erstellen?

Gibt es eine bessere/komfortablere Lösung für dieses Problem?

Mein bisheriges Template:
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:
page = PAGE
page.config.admPanel = 1
page.shortcutIcon = fileadmin/favicon.ico
page     {
typeNum = 0
bodyTag = <body>
stylesheet = fileadmin/stylesheets/styles.css
meta.AUTHOR = ***
meta.DESCRIPTION = ***



10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/templates/index.html
10.workOnSubpart = DOKUMENT
10.marks     {    
FOOTBAR = HMENU
FOOTBAR.special = directory
FOOTBAR.special.value = 11
FOOTBAR.1 = TMENU
FOOTBAR.1.NO = 1
FOOTBAR.1.NO.linkWrap = &nbsp;|&nbsp;| |*|&nbsp;|&nbsp;||*|&nbsp;|

NAVILEFT = HMENU
NAVILEFT.special = directory
NAVILEFT.special.value = 12
NAVILEFT.1 = GMENU
NAVILEFT.1.NO = 1

NAVILEFT.1.RO < .NAVILEFT.1.NO
NAVILEFT.1.RO.backColor = #FFFF06

CONTENT < styles.content.get

}
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = @<img src="fileadmin/images/clear.gif" border="0" alt="" />
config.admPanel = 1    

}
__________________
MFG Tobias

Ich verwende TYPO3 4.1.2 und die aktuellen PHP-/MySQL-Versionen.
Mit Zitat antworten