承接 nswdpc/silverstripe-taxonomy-icons 相关项目开发

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

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

nswdpc/silverstripe-taxonomy-icons

Composer 安装命令:

composer require nswdpc/silverstripe-taxonomy-icons

包简介

Icon support for Silverstripe taxonomy terms

README 文档

README

Upload an icon, assign a CSS class name or a filename to a taxonomy term

Configuration

Site configuration by your developer/site owner can be done as follows:

---
Name: 'app-taxonomy-icon'
After:
    - '#nswdpc-taxonomy-icon'
---
SilverStripe\Taxonomy\TaxonomyTerm:
  is_upload: true
  is_css: true
  is_filename: true
  filename_path: 'relative/path/to/icons'

The order of preference is upload, css, filename e.g. if is_upload and is_filename are true, only the upload field will be presented.

In the administration screen a CMS editor can:

  1. Upload an icon OR
  2. Enter a CSS class name OR
  3. Enter a filename for an icon, which will be relative to the configured icon file path

Usage

Your project should render the term icon via a project theme template. Example:

<% with $Term %>
<div class="list tags"><span class="tag"><span aria-hidden="true">{$TaxonomyIconCssClass}</span> <span>{$Name}</span></span></p>
<% end_with %>

Requirements

The recommended way of installing this module is via composer

composer require nswdpc/silverstripe-taxonomy-icons

License

BSD-3-Clause

Documentation

Maintainers

PD Web Team

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Security

If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.

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.

Please review the code of conduct prior to completing a pull request.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-12-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固