Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 01.05.07, 18:06
Forum Newbie
 
Registriert seit: 19.04.07
Beiträge: 42

Typoscript für Navigationsstruktur


Hall zusammen,

probiere mich gerade an einer komplexeren Navigation aus! Sie sieht folgend aus:

Code:
topnavigation - topPunkt_1 | topPunkt_2 | topPunkt_3

seitennavigation - navPunkt_1 | navPunkt_2 | navPunkt_3

footernavigation - navPunkt_1 | navPunkt_2 | navPunkt_3
die navPunkt_x haben noch Unterseiten.


nun habe ich folgende seitenstruktur in Typo3-Backend angelegt:

Code:
mySite
   - topnavigation (als Shortcut, hide in menu)
      - topPunkt_1
      - topPunkt_2
      - topPunkt_3

   - navPunkt_1
      - ...
   - navPunkt_2
      - ...
   - navPunkt_3
      - ...
ich habe mir per TV eine Template mit TSObjekten definiert, z.B: lib.topnavigation
Wie muss ich jetzt das TS in den einzelnen Templates verteilen damit die Navigationen mit dem korrekten Inhalt dargestellt werden?

meine Idee war:

in template - topnavigation eine +ext anlegen mit folgendem Code:
Typoscript-Code:
1:
2:
3:
4:
5:
6:
temp.topNavigation = HMENU
temp.topNavigation.1  = TMENU
temp.topNavigation.1 {
NO = 1
NO.after = |
}

und im Storage Folder:
Typoscript-Code:
1:
2:
3:
4:
5:
6:
temp.mainNavigation = HMENU
temp.mainNavigation.1  = TMENU
temp.mainNavigation.1 {
NO = 1
NO.after = |
}

die +ext werden dann im template - mySite eingefügt!
leider wird dann jedoch beides mal die navPunkt_x angezeigt!

Also wie muss das Typoscript aussehen und wo muss es vorhanden sein?
Oder ist sogar die Seitenstruktur falsche gewählt?

Danke
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
  #2  
Alt 01.05.07, 18:18
Forum Newbie
 
Registriert seit: 19.04.07
Beiträge: 42

kaum gepostet, schon gelöst!

innerhalb template -mySite kommt:

Typoscript-Code:
1:
2:
3:
4:
5:
lib.topnavigation < topNavigation
lib.topnavigation {
special = directory
special.value = ID des topnavigation-Shortcut
}
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
Typoscript if burner TYPO3 4.x Fragen und Probleme 1 16.06.08 16:01
Neue BBCode Funktion: [typoscript] [/typoscript] Junior Änderungen 14 17.01.08 12:30
typoscript if rip.inc TYPO3 4.x Fragen und Probleme 1 02.12.07 01:39
SQL per Typoscript david TYPO3 4.x Fragen und Probleme 8 26.11.06 23:26
Typoscript und PHP tikemyson TYPO3 4.x Backend 0 03.08.06 15:35


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


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