sschreier/sschreierdropdownmenu
Composer 安装命令:
composer require sschreier/sschreierdropdownmenu
包简介
dropdown menu
README 文档
README
An extension for a dropdown menu from 992 pixels. The navigation menu item Home can also be hidden or can be replaced by a house icon.
Possible Configurations
- activate the dropdown menu
- show the menu right-aligned
- set the shadow of the dropdown menu (*1)
- set the distance to the left of the dropdown menu in pixels (*1)
- set the min width of the dropdown menu in pixels (*1)
- set the font size of the dropdown menu in pixels (*1)
- set the padding of the dropdown menu (*1)
- open the dropdown menus always to the left
- open the dropdown menus of the last main navigation menu item of a line of a full-surface or multi-line menu to the left
- select the number of main navigation menu items where the dropdown menu should open to the left
- set the minimum number of main navigation menu items per line from which the opening of the dropdown menu to the left should be checked
- set the distance of the text to the left for a left-opening dropdown menu in pixels (*1)
- activate the sticky effect for the menu
- set the position in pixels from which the menu should receive the sticky effect
- select the viewports in which the menu should receive the sticky effect
- set the z-index value of the menu with sticky effect (*1)
- set the background color of the menu with sticky effect (*1)
- set the border bottom value (*1)
- show the navigation menu item Home
- replace the navigation menu item Home with a house icon
Some changes in the settings within the configuration are not immediately visible in the frontend of the shop
After changing settings specifically for the appearance of the dropdown menu (*1), the theme must be recompiled, for example by saving the theme in the administration:
- Switch to "Content" and "Themes"
- Select the active theme
- Click on the button "Save"
How to install the extension
via zip and console (recommended)
- Download the latest SschreierDropdownMenu-master.zip.
- Unzip the zip file and rename the folder to SschreierDropdownMenu.
- Move the folder to the project folder custom/plugins/ .
- Connect to the console via ssh:
bin/console plugin:refresh
bin/console plugin:install --activate SschreierDropdownMenu
via composer
- Add the repository URL to the composer.json of the project
"repositories": [
...,
{
"type": "vcs",
"url": "https://github.com/sschreier/SschreierDropdownMenu"
}
],
- Connect to the console via ssh and install the plugin via the command
composer require sschreier/sschreierdropdownmenu
bin/console plugin:refresh
bin/console plugin:install --activate SschreierDropdownMenu
via https://packagist.org
- Connect to the console via ssh and install the plugin via the command
composer require sschreier/sschreierdropdownmenu
bin/console plugin:refresh
bin/console plugin:install --activate SschreierDropdownMenu
via zip upload
- Download the latest SschreierDropdownMenu-master.zip.
- Unzip the zip file and rename the folder to SschreierDropdownMenu.
- Zip the folder to SschreierDropdownMenu.zip.
- Upload the zip in the Shopware Administration.
- Install & Activate the extension.
extension update (zip)
- Download the latest SschreierDropdownMenu-master.zip.
- Unzip the zip file and rename the folder to SschreierDropdownMenu.
- Zip the folder to SschreierDropdownMenu.zip.
- Upload the zip in the Shopware Administration.
- Update the extension.
Images
default navigation menu with dropdown menu
default navigation menu with dropdown menu with hover about navigation menu item Music
default navigation menu with dropdown menu with hover about navigation menu item Music, Books & Games
default navigation menu with dropdown menu with hover about navigation menu item women where the dropdown menu open to the left
sticky navigation menu with dropdown menu
sticky navigation menu with dropdown menu with hover about navigation menu item Music
sticky navigation menu with dropdown menu where the navigation menu item Home was replaced by a house icon
sticky navigation menu with dropdown menu where the navigation menu item Home has been hidden
default navigation menu without dropdown menu
default navigation menu without dropdown menu with hover about navigation menu item Music
sticky navigation menu without dropdown menu
sticky navigation menu without dropdown menu with hover about navigation menu item Music
extension configuration - part 1
extension configuration - part 2
extension configuration - part 3
extension configuration - part 4
sschreier/sschreierdropdownmenu 适用场景与选型建议
sschreier/sschreierdropdownmenu 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 368 次下载、GitHub Stars 达 17, 最近一次更新时间为 2025 年 03 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sschreier/sschreierdropdownmenu 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sschreier/sschreierdropdownmenu 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 368
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-03-09