sschreier/sschreiertopbarnotifications
Composer 安装命令:
composer require sschreier/sschreiertopbarnotifications
包简介
bar for information and notification texts or messages
README 文档
README
An extension for a bar for information and notification texts or messages which can contain up to 4 areas. It can be displayed either in the top bar or in the footer bar or also above or below the breadcrumb navigation.
Possible Configurations for the bar
- show the content in a top or footer bar or above or below the breadcrumb navigation
- set the background color of the area (*1)
- set the shadow of the area (*1)
- set the outer distance of the area up- and downwards in pixels or percent (*1)
- set the distance of the areas up- and downwards in pixels or percent (*1)
- activate, if you want 50% width of the areas in the viewport smartphone landscape (SM)
Possible Configurations for each of the possible four areas of the bar
- show the area
- select the viewports in which the area should be shown
- select, if the icon should be shown
- select, if the icon should obtain from the select field or a snippet
- select the icon from the select field (which you can find here: https://github.com/shopware/shopware/tree/trunk/src/Storefront/Resources/app/storefront/dist/assets/icon/default or https://developer.shopware.com/resources/meteor-icon-kit/)
- set the icon via snippet
- set the icon color and hover icon color (*1)
- set the icon width and height in pixels (*1)
- set the distance between the icon and the content (*1)
- set the font color and hover font color of the content (*1)
- set the font size of the content in pixels (*1)
- select, if the content should obtain from the text editor or a snippet
- set the content via the text editor
- set the content via snippet
- select the position of the content, for example icon on the left and content on the right or icon on the right and content on the left
- select the orientation of the area (left, center or right)
- set a link for the area
- select the link target of the area, for example in the current tab, in a new tab or in a modalbox
Available snippets to customize the content or the icons
- ContentTextEditorTopBarArea1
- ContentTextEditorTopBarArea2
- ContentTextEditorTopBarArea3
- ContentTextEditorTopBarArea4
- ContentTopBarArea1
- ContentTopBarArea2
- ContentTopBarArea3
- ContentTopBarArea4
- IconTopBarArea1
- IconTopBarArea2
- IconTopBarArea3
- IconTopBarArea4
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 areas (*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 SschreierTopbarNotifications-master.zip.
- Unzip the zip file and rename the folder to SschreierTopbarNotifications.
- Move the folder to the project folder custom/plugins/ .
- Connect to the console via ssh:
bin/console plugin:refresh
bin/console plugin:install --activate SschreierTopbarNotifications
via composer
- Add the repository URL to the composer.json of the project
"repositories": [
...,
{
"type": "vcs",
"url": "https://github.com/sschreier/SschreierTopbarNotifications"
}
],
- Connect to the console via ssh and install the plugin via the command
composer require sschreier/sschreiertopbarnotifications
bin/console plugin:refresh
bin/console plugin:install --activate SschreierTopbarNotifications
via https://packagist.org
- Connect to the console via ssh and install the plugin via the command
composer require sschreier/sschreiertopbarnotifications
bin/console plugin:refresh
bin/console plugin:install --activate SschreierTopbarNotifications
via zip upload
- Download the latest SschreierTopbarNotifications-master.zip.
- Unzip the zip file and rename the folder to SschreierTopbarNotifications.
- Zip the folder to SschreierTopbarNotifications.zip.
- Upload the zip in the Shopware Administration.
- Install & Activate the extension.
extension update (zip)
- Download the latest SschreierTopbarNotifications-master.zip.
- Unzip the zip file and rename the folder to SschreierTopbarNotifications.
- Zip the folder to SschreierTopbarNotifications.zip.
- Upload the zip in the Shopware Administration.
- Update the extension.
Images
top bar with four areas
top bar with four areas, first area is linked with a modal box
top bar with four areas in a smaller viewport
top bar with only one area
footer bar with four areas
bar with only one area above the breadcrumb navigation
bar with only one area below the breadcrumb navigation
extension configuration - top bar part 1
extension configuration - top bar part 2
extension configuration - area 1 part 1
extension configuration - area 1 part 2
extension configuration - area 1 part 3
sschreier/sschreiertopbarnotifications 适用场景与选型建议
sschreier/sschreiertopbarnotifications 是一款 基于 Twig 开发的 Composer 扩展包,目前已累计 16 次下载、GitHub Stars 达 9, 最近一次更新时间为 2025 年 03 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sschreier/sschreiertopbarnotifications 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sschreier/sschreiertopbarnotifications 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-03-09