Vielleicht schreibe ich mal alles hier rein auch wenn es länger ist. Also angelegt habe ich in typo3:
root (PID=16) als Shortcut auf die Seite Start (PID=17).
nach anleitung habe ich folgendes in den constants eingetragen:
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/constants.txt">
in die setups dann dieses:
# CONFIGURATION
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/config.txt">
# TIP
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/suchen.txt">
# HORIZONTAL MENU
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/menu_oben.txt">
# HORIZONTAL MENU
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/menu_static.txt">
# HORIZONTAL SUB MENU
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/menu_links.txt">
# BREADCRUMP MENU
#<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/rootline.txt">
# LAST UPDATE
#<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/lastupdate.txt">
# PRINT
#<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/print.txt">
# COUNTER
#<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/counter.txt">
# PAGE SETUP
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/templates/multiflex2/typoscript/setup.txt">
So das sind ja nur Verweise auf die jeweiligen .txt-Dateien.
Jetzt kommen die TS von setup.txt und menu_links.txt (ich will hier nicht alles vollschreiben:sad:
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:
| page = PAGE page.typeNum = 0 page.meta.DESCRIPTION = My Site page.meta.KEYWORDS = Internet, Homepage, Typo3 page.includeCSS { file1 = fileadmin/templates/multiflex2/css/style_screen.css file2 = fileadmin/templates/multiflex2/css/dynamiccss.css } page.bodyTag = <body> page.1 = TEMPLATE page.1.marks.PAGE_UID = TEXT page.1.marks.PAGE_UID.field = uid page.1 { template = FILE template.file = fileadmin/templates/multiflex2/home.html workOnSubpart = DOKUMENT subparts.INHALT < styles.content.get subparts.MENU_OBEN < temp.MenuOben subparts.MENU_LINKS < temp.MenuLinks subparts.MENU_STATIC < temp.MenuStatic subparts.INHALT_LINKS < styles.content.getLeft subparts.SITENAME = TEXT subparts.SITENAME < temp.seitenTitel subparts.SPRACHE = PHP_SCRIPT subparts.SPRACHE.file = fileadmin/templates/multiflex2/scripts/languageMenu.php } |
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:
| temp.MenuLinks = HMENU temp.MenuLinks.excludeUidList = 13, 15, 16 temp.MenuLinks { entryLevel=1 1 = TMENU 1 { expAll = 0 wrap = <ul>|</ul> noBlur = 1 NO { wrapItemAndSub = <li class="group">|</li> stdWrap = upper ATagTitle.field = description // title } ACT=1 ACT { wrapItemAndSub = <li class="group">|</li> stdWrap = upper ATagParams = class = "nohref selected" ATagTitle.field = description // title } } 2 = TMENU 2 { expAll = 1 noBlur = 1 NO { wrapItemAndSub = <li>|</li> stdWrap = upper ATagTitle.field = description // title } ACT=1 ACT { wrapItemAndSub = <li>|</li> stdWrap = upper ATagParams = class = "nohref selected" ATagTitle.field = description // title } } } |
Wenn ich das richtig verstanden habe, muss ich doch hier nur die Stellen suchen wo steht das die Startseite nicht die PID 1 hat sondern jetzt 16 (weil ich halt vorher schon seiten angelegt und wieder gelöscht hatte)