silverstripe-module silverstripe-customcss
Adds a code editor field to SiteConfig to add custom css to the website through the admin system.
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
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
- Install https://github.com/nathancox/silverstripe-codeeditorfield
- Place the silverstripe-customcss directory in the root of your SilverStripe installation
- 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
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