derhaeuptling/contao-mega-menu
Composer 安装命令:
composer require derhaeuptling/contao-mega-menu
包简介
Mega menu extension for Contao Open Source CMS
README 文档
README
Contao Plugin that integrates a flexible and adjustable Mega Menu that drops down below the navigation.
Features
- Different Mega Menus can be added and managed in the Contao Layout section.
As many as needed. - Those Mega Menus can than be assigned to the Pages you need them for in the Contao Page Settings.
For any page different Mega Menus are possible. - In the Themes Naviation Module one of several prepared templates for the Mega Menu can be selected.
Setup
-
Navigate to Layout -> Mega Menu
Add at least on Mega Menu by clicking "new menu".
Inside this menu, you can add Contao content elements to build the content of the Mega Menu. -
Navigate to Layout -> Site Structure -> Edit Page
Go to the page Settings of the page, that will contain the mega menu.
In the section "Mega Menu settings" check "Enable Mega Menu".
Select on of the Mega Menus you created in step (1.). -
Navigate to Layout -> Themes -> Modules
Go to the frontend navigation module you want to use for the Mega Menu.
Select one of the available Mega Menu templates as "navigation template".
templates
These Templates are available.
-
nav_mega_menu_default
Simple css only full width solution. -
nav_mega_menu_default_noHover_justClick
Only opens on click, but ignores hover. Javascript is used. -
nav_mega_menu_default_outside
Places the Mega Menu outside the navigation html node.\ This prevents the CSS solution to work, Javascript is needed, but not included in this budle.\Use Cases of
nav_mega_menu_default_outside:- place the Mega Menu wherever needed.
- Transion beetween Mega Menus Contents or move whole Mega Menus around.
-
more Templates when requiered
customize Mega Menu templates
To customize the templates, css or js got to Layout -> Templates.
Click "new template" and select one of the nav_mega_menu_*** templates, to create a copy you can build on.
derhaeuptling/contao-mega-menu 适用场景与选型建议
derhaeuptling/contao-mega-menu 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14.31k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2017 年 02 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「menu」 「navigation」 「contao」 「mega」 「Mega Menu」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 derhaeuptling/contao-mega-menu 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 derhaeuptling/contao-mega-menu 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 derhaeuptling/contao-mega-menu 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Contao Open Source CMS
A block to display a list of links to child pages, or pages in current level
A Symfony extension to get active class base on current bundle/controller/action
Diese Contao 4 Erweiterung stellt Google reCAPTCHA V2 in Form eines neuen Formularfeldes im Formulargenerator bereit. This extension provides Google reCAPTCHA V2 in the form of a new form field in the form generator of Contao Open Source CMS.
Implementation of carouFredSel as extension for Contao Open Source CMS
Contao CMS integrity check for some files
统计信息
- 总下载量: 14.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2017-02-02