friendsofvictoire/menu-widget

This package is abandoned and no longer maintained. No replacement package was suggested.

Victoire DCMS Menu widget

Installs: 13 733

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 9

Forks: 3

Open Issues: 6

Type:symfony-bundle

3.0.1 2019-07-04 10:15 UTC

README

##What is the purpose of this bundle

This bundles gives you access to the Menu Widget. With this widget, you can install a header menu, footer menu, or a menu directly on a page.

The categories can link to :

  • Internal pages
  • URL
  • A routing setting
  • An anchor - i.e a widget within a page

##Set Up Victoire

If you haven't already, you can follow the steps to set up Victoire here

##Install the Menu Bundle :

Run the following composer command :

php composer.phar require friendsofvictoire/menu-widget

###Reminder

Do not forget to add the bundle in your AppKernel !

    class AppKernel extends Kernel
    {
        public function registerBundles()
        {
            $bundles = array(
                ...
                new Victoire\Widget\MenuBundle\VictoireWidgetMenuBundle(),
            );

            return $bundles;
        }
    }

##Tricks

You can then use this widget menu in any web site. To get a full responsive menu, you can add these lines in your layout :

<header id="header">
    <nav class="container">
        <div id="header-logo" class="vic-mini-slot">
            {{ cms_slot_widgets('header_logo') }}
        </div>

        <button id="header-links-list-trigger" class="hidden-md hidden-lg"><i class="fa fa-bars"></i></button>

        <div id="header-linkList" class="vic-mini-slot">
            {{ cms_slot_widgets('header_nav') }}
        </div>
    </nav>
</header>