m3ntozz911
PC-Selbstbauer(in)
Hallo liebe Community,
nach unzähligen Tutorials und Foren muss ich mich leider doch geschlagen geben und hoffe hier auf Erlösung. Ich bin noch Anfänger in der Welt von TYPO3 und bin daher nicht so bewandert, wie man anderer. Wahrscheinlich ist es nur ein banaler Fehler.
Ich habe ein Problem mit meiner Navigation
Hier meine menu.ts:
hier meine page.ts
hier meine index.html
Einiges basiert auf Bootstrap bzw. eigentlich fast alles.
Das Caret wird ausgegeben, jedoch wird kein Untermenü gedropt.
Mein Menü ist wie folgt aufgebaut:
root
-Seite1
-Seite2
--Seite2.1
--Seite2.2
-Seite3
--Seite3.1
--Seite3.2
-Seite4
Ich hoffe ich konnte alles detailliert genug erklären und hoffe dass man mir helfen kann.
Liebe Grüße,
m3ntozz
nach unzähligen Tutorials und Foren muss ich mich leider doch geschlagen geben und hoffe hier auf Erlösung. Ich bin noch Anfänger in der Welt von TYPO3 und bin daher nicht so bewandert, wie man anderer. Wahrscheinlich ist es nur ein banaler Fehler.
Ich habe ein Problem mit meiner Navigation
Hier meine menu.ts:
Code:
[COLOR=#000066][B]lib[/B][COLOR=#339933][B].[/B]menu [COLOR=#339933][B]=[/B] [URL="http://documentation.typo3.org/documentation/tsref/cobjects/HMENU/"][COLOR=#990000][B]HMENU[/B][/URL]
[COLOR=#000066][B]lib[/B][COLOR=#339933][B].[/B]menu[COLOR=#009900]{
entryLevel [COLOR=#339933][B]=[/B][COLOR=#cc0000]0
[COLOR=#cc0000]1 [COLOR=#339933][B]=[/B] [URL="http://documentation.typo3.org/documentation/tsref/menu/TMENU/"][COLOR=#990000][B]TMENU[/B][/URL]
[COLOR=#cc0000]1 [COLOR=#009900]{
expAll[COLOR=#339933][B]=[/B][COLOR=#cc0000]1
[URL="http://documentation.typo3.org/documentation/tsref/functions/wrap/"][B]wrap[/B][/URL] [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]ul class="nav navbar-nav"[COLOR=#339933][B]>[/B] [COLOR=#339933][B]|[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]/ul[COLOR=#339933][B]>[/B]
noBlur [COLOR=#339933][B]=[/B] [COLOR=#cc0000]1
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]NO[/B][/URL] [COLOR=#339933][B]=[/B] [COLOR=#cc0000]1
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]NO[/B][/URL] [COLOR=#009900]{
wrapItemAndSub [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]li[COLOR=#339933][B]>[/B] [COLOR=#339933][B]|[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]/li[COLOR=#339933][B]>[/B]
[URL="http://documentation.typo3.org/documentation/tsref/functions/stdWrap/"][B]stdWrap[/B][/URL][COLOR=#339933][B].[/B][URL="http://documentation.typo3.org/documentation/tsref/functions/htmlSpecialChars/"][B]htmlSpecialChars[/B][/URL] [COLOR=#339933][B]=[/B] [COLOR=#cc0000]1
ATagTitle[COLOR=#339933][B].[/B][URL="http://documentation.typo3.org/documentation/tsref/functions/field/"][B]field[/B][/URL] [COLOR=#339933][B]=[/B] title
[COLOR=#009900]}
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]ACT[/B][/URL] [COLOR=#339933][B]<.[/B][URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]NO[/B][/URL]
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]ACT[/B][/URL][COLOR=#009900]{
wrapItemAndSub [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]li class="active"[COLOR=#339933][B]>[/B] [COLOR=#339933][B]|[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]/li[COLOR=#339933][B]>[/B]
[COLOR=#009900]}
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]IFSUB[/B][/URL] [COLOR=#339933][B]<[/B] [COLOR=#339933][B].[/B][URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]NO[/B][/URL]
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]IFSUB[/B][/URL] [COLOR=#009900]{
allWrap [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<!!==:>|[/B]
wrapItemAndSub [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]li class="dropdown"[COLOR=#339933][B]>|<[/B][COLOR=#3366CC]/li[COLOR=#339933][B]>[/B]
ATagBeforeWrap [COLOR=#339933][B]=[/B] [COLOR=#cc0000]1
linkWrap [COLOR=#339933][B]=[/B] [COLOR=#339933][B]|[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]b class="caret"[COLOR=#339933][B]><[/B][COLOR=#3366CC]/b[COLOR=#339933][B]>[/B]
ATagParams [COLOR=#339933][B]=[/B] class[COLOR=#339933][B]=[/B]"dropdown-toggle" data-toggle[COLOR=#339933][B]=[/B]"dropdown" role[COLOR=#339933][B]=[/B]"menu" aria-haspopup[COLOR=#339933][B]=[/B]"true" aria-expanded[COLOR=#339933][B]=[/B]"false"
[COLOR=#009900]}
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]ACTIFSUB[/B][/URL] [COLOR=#339933][B]<[/B] [COLOR=#339933][B].[/B][URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]IFSUB[/B][/URL]
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]ACTIFSUB[/B][/URL][COLOR=#009900]{
allWrap [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<!!==:>|[/B]
[COLOR=#009900]}
[COLOR=#009900]}
[COLOR=#cc0000]2 [COLOR=#339933][B]=[/B] [URL="http://documentation.typo3.org/documentation/tsref/menu/TMENU/"][COLOR=#990000][B]TMENU[/B][/URL]
[COLOR=#cc0000]2[COLOR=#009900]{
[URL="http://documentation.typo3.org/documentation/tsref/functions/wrap/"][B]wrap[/B][/URL] [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]ul class="dropdown-menu" role="menu"[COLOR=#339933][B]>|<[/B][COLOR=#3366CC]/ul[COLOR=#339933][B]>[/B]
expAll [COLOR=#339933][B]=[/B] [COLOR=#cc0000]1
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]NO[/B][/URL] [COLOR=#339933][B]=[/B] [COLOR=#cc0000]1
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]NO[/B][/URL] [COLOR=#009900]{
allWrap [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]li[COLOR=#339933][B]>|<[/B][COLOR=#3366CC]/li[COLOR=#339933][B]>[/B]
[URL="http://documentation.typo3.org/documentation/tsref/functions/stdWrap/"][B]stdWrap[/B][/URL][COLOR=#339933][B].[/B][URL="http://documentation.typo3.org/documentation/tsref/functions/htmlSpecialChars/"][B]htmlSpecialChars[/B][/URL] [COLOR=#339933][B]=[/B] [COLOR=#cc0000]1
[COLOR=#009900]}
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]ACT[/B][/URL] [COLOR=#339933][B]<[/B] [COLOR=#339933][B].[/B][URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]NO[/B][/URL]
[URL="http://documentation.typo3.org/documentation/tsref/menu/item-states/"][COLOR=#990000][B]ACT[/B][/URL][COLOR=#009900]{
ATagParams [COLOR=#339933][B]=[/B] class [COLOR=#339933][B]=[/B]"active"
allWrap [COLOR=#339933][B]=[/B] [COLOR=#339933][B]<[/B][COLOR=#3366CC]li class="active"[COLOR=#339933][B]>|<[/B][COLOR=#3366CC]/li[COLOR=#339933][B]>[/B]
ATagTitle[COLOR=#339933][B].[/B][URL="http://documentation.typo3.org/documentation/tsref/functions/field/"][B]field[/B][/URL] [COLOR=#339933][B]=[/B] title
[COLOR=#009900]}
[COLOR=#009900]}
[COLOR=#009900]}
hier meine page.ts
Code:
[COLOR=#000066][B]page[/B] [COLOR=#339933][B]=[/B] [URL="http://documentation.typo3.org/documentation/tsref/tlo-objects/PAGE/"][COLOR=#990000][B]PAGE[/B][/URL]
[COLOR=#000066][B]page[/B][COLOR=#009900]{
includeCSS[COLOR=#339933][B].[/B]bootstrap [COLOR=#339933][B]=[/B] fileadmin[COLOR=#339933][B]/[/B]templates[COLOR=#339933][B]/[/B]css[COLOR=#339933][B]/[/B]bootstrap[COLOR=#339933][B].[/B]css
includeCSS[COLOR=#339933][B].[/B]bootstrapResponsive [COLOR=#339933][B]=[/B] fileadmin[COLOR=#339933][B]/[/B]templates[COLOR=#339933][B]/[/B]css[COLOR=#339933][B]/[/B]bootstrap-responsive[COLOR=#339933][B].[/B]min[COLOR=#339933][B].[/B]css
includeCSS[COLOR=#339933][B].[/B]style [COLOR=#339933][B]=[/B] fileadmin[COLOR=#339933][B]/[/B]templates[COLOR=#339933][B]/[/B]css[COLOR=#339933][B]/[/B]style1[COLOR=#339933][B].[/B]css
includeJS[COLOR=#339933][B].[/B]bootstrap[COLOR=#339933][B].[/B]js [COLOR=#339933][B]=[/B] fileadmin[COLOR=#339933][B]/[/B]templates[COLOR=#339933][B]/[/B]js[COLOR=#339933][B]/[/B]bootstrap[COLOR=#339933][B].[/B]js
[COLOR=#cc0000]10 [COLOR=#339933][B]=[/B] [URL="http://documentation.typo3.org/documentation/tsref/cobjects/FLUIDTEMPLATE/"][COLOR=#990000][B]FLUIDTEMPLATE[/B][/URL]
[COLOR=#cc0000]10[COLOR=#009900]{
[COLOR=#000066][B]file[/B] [COLOR=#339933][B]=[/B] fileadmin[COLOR=#339933][B]/[/B]templates[COLOR=#339933][B]/[/B]index[COLOR=#339933][B].[/B]html
layoutRootPath [COLOR=#339933][B]=[/B] fileadmin[COLOR=#339933][B]/[/B]templates[COLOR=#339933][B]/[/B]layouts[COLOR=#339933][B]/[/B]
partialRootPath [COLOR=#339933][B]=[/B] fileadmin[COLOR=#339933][B]/[/B]templates[COLOR=#339933][B]/[/B]partials[COLOR=#339933][B]/[/B]
variables [COLOR=#009900]{
siteName [COLOR=#339933][B]=[/B] [URL="http://documentation.typo3.org/documentation/tsref/cobjects/TEXT/"][COLOR=#990000][B]TEXT[/B][/URL]
siteName[COLOR=#339933][B].[/B]value [COLOR=#339933][B]=[/B] Seite
[COLOR=#000066][B]content[/B] [COLOR=#339933][B]<[/B] [COLOR=#000066][B]styles[/B][COLOR=#339933][B].[/B]content[COLOR=#339933][B].[/B]get
[COLOR=#009900]}
[COLOR=#009900]}
[COLOR=#009900]}
hier meine index.html
Code:
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"bs-docs-header" [COLOR=#000066]id[COLOR=#66cc66]=[COLOR=#ff0000]"content" [COLOR=#000066]tabindex[COLOR=#66cc66]=[COLOR=#ff0000]"-1">
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"container img-responsive">
<[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"navbar navbar-default">
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"navbar navbarcolor" [COLOR=#000066]id[COLOR=#66cc66]=[COLOR=#ff0000]"bs-example-navbar-collapse-1">
<f:cObject typoscriptObjectPath[COLOR=#66cc66]=[COLOR=#ff0000]"lib.menu" [COLOR=#66cc66]/>
<[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"row">
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"col-md-offset-1 col-md-8 col-xs-8 main ">
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"col-xs-12 maincontent">
<f:format.raw>[COLOR=#66cc66]{[COLOR=#000066]content[COLOR=#66cc66]}<[COLOR=#66cc66]/f:format.raw>
<[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"col-xs-12 maincontent"><[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"col-md-3 ">
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"col-md-7 tile"><[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"col-md-7 tile"><[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"col-md-7 tile"><[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL] [COLOR=#000066]class[COLOR=#66cc66]=[COLOR=#ff0000]"col-md-7 tile"><[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
<[COLOR=#66cc66]/[URL="http://december.com/html/4/element/div.html"][COLOR=#000000][B]div[/B][/URL]>
Einiges basiert auf Bootstrap bzw. eigentlich fast alles.
Das Caret wird ausgegeben, jedoch wird kein Untermenü gedropt.
Mein Menü ist wie folgt aufgebaut:
root
-Seite1
-Seite2
--Seite2.1
--Seite2.2
-Seite3
--Seite3.1
--Seite3.2
-Seite4
Ich hoffe ich konnte alles detailliert genug erklären und hoffe dass man mir helfen kann.
Liebe Grüße,
m3ntozz
Zuletzt bearbeitet von einem Moderator: