[Frage] Weitere Menüebenen in Bootstrap möglich? TYPO3-Version: 9.5.9


  • 1
  • 0 x
    3270 Beiträge
    157 Hilfreiche Beiträge
    30. 10. 2019, 09:38

    Na, Deien Such-Skills sind abe rnoch optimierbar ;-)

    Ist festgelegt im Dataprocessor:

    [code]page.10.dataProcessing.10.levels = 2[/code]

    https://github.com/benjaminkott/bootstrap_package/blob/master/Configuration/TypoScript/setup.typoscript#L146

    Kleiner Hinweis:
    das Forum hier ist leider nicht mehr so frequentiert :-(
    Für schnellere Hilfe und mehr Leser, guck mal
    - auf stackoverflow ( https://stackoverflow.com/questions/tagged/typo3 )
    - oder in die slack-Channels ( https://typo3.org/community/meet/chat-slack )

  • doni doni
    Padawan
    0 x
    45 Beiträge
    1 Hilfreiche Beiträge
    13. 11. 2019, 16:36

    Danke!

    Habe zusätzlich noch in der Datei:
    /fileadmin/project/templates/bootstrap_package/Partials/Page/Navigation/Main.html

    das hier:
    [code]<f:render partial="DropIn/Navigation/MainBefore" arguments="{_all}" />
    <f:render section="MainNavigation" arguments="{menu: mainnavigation, theme: theme}" />
    <f:render partial="DropIn/Navigation/MainAfter" arguments="{_all}" />[/code]

    durch das hier ersetzt:
    [code]<ul class="navbar-nav">
    <f:for each="{mainnavigation}" as="mainItem">
    <f:render partial="Navigation/Elements/Item" arguments="{item: mainItem}"/>
    <f:if condition="{mainItem.children}">
    <f:render section="submenu" arguments="{submenu: mainItem.children}"/>
    </f:if>
    </li>
    </f:for>
    </ul>[/code]

  • 1