Giter VIP home page Giter VIP logo

contao-rocksolid-mega-menu's Introduction

contao-rocksolid-mega-menu's People

Contributors

ausi avatar rabauss avatar woerndl avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

rabauss

contao-rocksolid-mega-menu's Issues

Keine Child-Level > 1 im Markup beim Typ "Navigation"

Hi, ich habe festgestellt, dass beim Auswählen des Typs "Navigation" in einer MegaMenü-Spalte zwar die Referenzseite und das Stop-Level gewählt werden kann, jedoch werden die Child-Level tiefer als 1 darunter dann nicht ausgegeben. Ich wähle z.B. den Menüpunkt "Nachhaltigkeit" aus und mir werden zwar die direkten Kind-Elemente angezeigt, aber nicht das dritte Level. Das geht nur, wenn ich ein Modul einfüge, bei dem ich eine Referenzseite setze und das ist ziemlich umständlich.

So sollte es aussehen (das erreichen wir, indem der Typ auf "eigener HTML-Code" steht und ein Modul included wird)
Bildschirmfoto 2022-03-09 um 17 43 22

Die Seitenstruktur:
Bildschirmfoto 2022-03-09 um 17 43 56

Wenn der Typ auf "Navigation" steht und die Referenzseite "Nachhaltigkeit" auswählt wird:
Bildschirmfoto 2022-03-09 um 17 45 14

... erhalte ich im Quellcode das:
Bildschirmfoto 2022-03-09 um 17 45 56

Und im Frontend folglich das:
Bildschirmfoto 2022-03-09 um 17 46 03

Update from 2.2.5 to 2.2.6 with Contao 4.13.46 breaks mega menu

Display of mega menu is broken after last update. I can repoduce the problem. Downgrade to version 2.2.5 resolves problem.

Effect: mega menu has not the expected width (full with), instead it is displayed narrow. Problem occurs since upgrade on version 2.2.6.

Mega Menu is used in theme "Tao" (also Rock Solid)

See screenshots.
rsmm_tatsaechlich
rsmm_erwartung

Order changes in front end after update to 2.2

contao-rocksolid-mega-menu 2.1.4

Site structure back end:

  • Link 1.1 (ID 10)
  • Link 1.2 (ID 5)
  • Link 1.3 (ID 6)
  • Link 1.4 (ID 2)
  • Link 1.5 (ID 3)

front end output:

  • Link 1.1 (ID 10)
  • Link 1.2 (ID 5)
  • Link 1.3 (ID 6)
  • Link 1.4 (ID 2)
  • Link 1.5 (ID 3)

contao-rocksolid-mega-menu 2.2.0

Site structure back end:

  • Link 1.1 (ID 10)
  • Link 1.2 (ID 5)
  • Link 1.3 (ID 6)
  • Link 1.4 (ID 2)
  • Link 1.5 (ID 3)

front end output:

  • Link 1.4 (ID 2)
  • Link 1.5 (ID 3)
  • Link 1.2 (ID 5)
  • Link 1.3 (ID 6)
  • Link 1.1 (ID 10)

I had to go back on version 2.1.4 to get the "correct" front end order back.

Undefined variable $arrPage when using Custom Mega Menu

Hi everyone,

An error Warning: Undefined variable $arrPage appears when using the Custom Mega Menu.

The Symfony Profiler tells the error is on line 58 in file vendor/madeyourday/contao-rocksolid-mega-menu/src/Module/MenuCustom.php (see screenshot) :

    while ($objPages->next()) {
            $_groups = \StringUtil::deserialize($arrPage['groups']);
            if (!$arrPage['protected'] || BE_USER_LOGGED_IN || (is_array($_groups) && count(array_intersect($_groups, $groups))) || $this->showProtected) {
                $arrPages[$objPages->id] = $this->getPageData($objPages);
                if ($objPages->rsmm_enabled) {
                    $arrPages[$objPages->id]['subitems'] = $this->renderNavigation($objPages->id);
                }
            }
        }

It seems there is a "s" missing : the variable is above named $arrPages.

image

Thanks is advance for solving this issue !

Étienne

alt-Tag wird mit den Metadaten aus Titel befüllt

Wenn man ein Mega Menu mit einem «mega-dropdown-image» erstellt, werden die Daten für das alt-Tag aus dem Metadaten-Feld «Titel» bezogen. Ich hätte erwartet, dass für die Angaben das Metadaten-Feld «Alt» verwendet wird.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.