承接 dynamic/silverstripe-site-notifications 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

dynamic/silverstripe-site-notifications

最新稳定版本:2.0.2

Composer 安装命令:

composer require dynamic/silverstripe-site-notifications

包简介

Display site notifications like violators and pop ups

README 文档

README

Display site notifications like violators and pop ups

Requirements

  • SilverStripe ^4.0
  • dynamic/silverstripe-linkable ^1.0

Installation

composer require dynamic/silverstripe-site-notifications 

License

See License

Configuration

Apply SiteTreeDataExtension to SiteTree:

SilverStripe\CMS\Model\SiteTree: extensions: - Dynamic\Notifications\Extension\SiteTreeDataExtension 

Template

In your top-level Page.ss template:

<% if $Violators %> <div class="violators"> <% loop $Violators %> <div id="special-discount-line-{$ID}" class="violators__violator top4"> <div class="special-discount-content"> <div class="special-discount-text"> $Content </div> </div> </div> <% end_loop %> </div> <% end_if %> <% if $PopUps %> <% loop $PopUps.Limit(1) %> <% if not $PopUpCookie %> <div id="eighteen" class="popup special-discount" data-cookie="$CookieName"> $Content </div> <% end_if %> <% end_loop %> <% end_if %>

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固