phill-m/silverstripe-customcss

There is no license information available for the latest version (dev-master) of this package.

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

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Type:silverstripe-module

dev-master 2016-05-09 09:38 UTC

This package is not auto-updated.

Last update: 2024-04-17 07:33:09 UTC


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