Forumtips 2
* Bootstrap templates dropdowns
Ein kleines Bootswatch-Megamenü aus langen Dropdowns zu erzeugen ist in Bootstrap 4 recht einfach.
In Bootstrap 3 kann man zum Css hinzufügen :
.dropdown-menu.show[aria-labelledby="themes"] { display: flex; width: 420px; flex-wrap: wrap; } .dropdown-menu.show[aria-labelledby="themes"] .dropdown-item { width: 33.333%; }
Die Bootstrap-Dropdown-Klassen werden bei der Definition über $ GP_MENU_LINKS vollständig vererbt und über $ GP_MENU_ELEMENTS in [Bootstrap theme dir]/drop_down_menu.php formatiert .
-- Andere Designs :- Damit $ GP_MENU_CLASSES zur Verfügung steht, sollte es in der Datei settings.php statt in der Datei template.php eines Designs festgelegt werden.
( The bootstrap - dropdown - classes are inherited all the way down when defined via $GP_MENU_LINKS and formatted via $GP_MENU_ELEMENTS in [Bootstrap theme dir]/drop_down_menu.php --other themes - For $GP_MENU_CLASSES to be available, it should really be set in the settings.php file instead of the template.php file of a theme. )
* Colorbox : Typesetter hat unter thirdparty das Colorbox-js mit Beispielen, die im CMS auswählbar sind.
Es gibt dazu als Ergänzung auf Github das Colorbox-Extender - Plugin