承接 wernerkrauss/ss-stringfield-replace 相关项目开发

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

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

wernerkrauss/ss-stringfield-replace

Composer 安装命令:

composer require wernerkrauss/ss-stringfield-replace

包简介

Extension for replacing symbols to html in DBString subclasses

关键字:

README 文档

README

This module provides a simple search/replace functionality for DBString derived fields (Text, HTMLText, Varchar) in Silverstripe CMS 4.

Requirements

  • Silverstripe > 4

Installation

Install this package using composer

composer require wernerkrauss/ss-stringfield-replace ^0.1

Features:

You can define maps to replace in your text field. By default it replaces:

  • (c) becomes ©
  • (r) becomes <sup>&reg;</sup>
  • (tm) becomes <sup>&trade;</sup>
  • | becomes <br>

This can be used in templates using the Replace method, e.g.

<h1>$Title.Replace</h1>

Configuration

You can add your own replacements by modifying SilverStripe\ORM\FieldType\DBString.replacements config

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固