friendsofvictoire/menu-widget 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

friendsofvictoire/menu-widget

最新稳定版本:3.0.1

Composer 安装命令:

composer require friendsofvictoire/menu-widget

包简介

Victoire DCMS Menu widget

README 文档

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>

统计信息

  • 总下载量: 13.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 9
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-21