2017 © Pedro Peláez
 

contao-bundle contao-bootstrap-hover-dropdown-bundle

Contao 4 bootstrap hover dropdown bundle

image

heimrichhannot/contao-bootstrap-hover-dropdown-bundle

Contao 4 bootstrap hover dropdown bundle

  • Tuesday, May 8, 2018
  • by digitales@heimrich-hannot.de
  • Repository
  • 5 Watchers
  • 0 Stars
  • 97 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 67 % Grown

The README.md

Contao Bootstrap Hover Dropdown Bundle

, (*1)

This bundle offers hover functionality for the contao navigation using a bootstrap dropdown menu., (*2)

Feature

  • hover support for bootstrap dropdown menu
  • Encore Bundle support

Installation

  1. Install via composer:, (*3)

    composer require heimrichhannot/contao-bootstrap-hover-dropdown-bundle
    
  2. Update your database., (*4)

  3. If you're using encore bundle, run prepare and build command.

Usage

Select the nav_hover_dropdown.html5 (legacy: nav_navbar_collapse_hover.html5) template inside your navigation module or copy the template and adjust for your needs., (*5)

If you're using encore bundle, activate the contao-bootstrap-hover-dropdown-bundle entry in your layout or page settings., (*6)

Modernizr config

If you configure your Modernizr setup with webpack, you can disable $GLOBALS['TL_JAVASCRIPT']['modernizr']. Following configuration is needed:, (*7)

{
    "options": [
        "mq"
    ],
    "feature-detects": [
        "test/touchevents"
    ]
}

The Versions