2017 © Pedro Peláez
 

silverstripe-module silverstripe-customcss

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

image

phill-m/silverstripe-customcss

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

  • Monday, May 9, 2016
  • by phill-m
  • Repository
  • 1 Watchers
  • 2 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

silverstripe-customcss

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

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

The code editor field uses Ace Code Editor provided by nathancox/silverstripe-codeeditorfield CodeEditorField, (*3)

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

The Versions

09/05 2016

dev-master

9999999-dev

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

  Sources   Download

The Requires