phill-m/silverstripe-customcss 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

phill-m/silverstripe-customcss

Composer 安装命令:

composer require phill-m/silverstripe-customcss

包简介

Adds a code editor field to SiteConfig to add custom css to the website through the admin system.

README 文档

README

This module adds a css code editor field to site config allowing users to add custom css to their website through the admin system.

The custom css is saved into a physical file in the assets area and added to the website as a standard css requirement.

The code editor field uses Ace Code Editor provided by nathancox/silverstripe-codeeditorfield CodeEditorField

Installation Instructions

  1. Install https://github.com/nathancox/silverstripe-codeeditorfield
  2. Place the silverstripe-customcss directory in the root of your SilverStripe installation
  3. Perform a /dev/build

Configuration Options

CustomCSS:
  Rows: 15          # The number of rows to be displayed
  Stacked: true     # If true the field will be displayed below the fields label

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-07-14