mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-10-22 11:05:50 +02:00
Removed _config.php and added README.md
This commit is contained in:
parent
bfff6fb0ea
commit
f989f737da
8
README.md
Executable file
8
README.md
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
# Using the Simple theme
|
||||||
|
|
||||||
|
* Copy the theme into the `themes/` directory of your SilverStripe project. If you've named it correctly, there should be a directory called `themes/simple/templates`.
|
||||||
|
|
||||||
|
* Add the following to your `mysite/_config.php` file. Remove any existing `SSViewer::set_theme` lines.
|
||||||
|
|
||||||
|
SSViewer::set_theme("simple");
|
||||||
|
HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'highlight=highlight;no-border=no-border,break=break');
|
11
_config.php
11
_config.php
@ -1,11 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Use this configuration file for all project settings, that are not server (live, dev, stage) specific.
|
|
||||||
* For server specific settings, use regular _config.php
|
|
||||||
*
|
|
||||||
* This file is included at the end of _config.php
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
// tinyMce custom config
|
|
||||||
HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'highlight=highlight;no-border=no-border,break=break');
|
|
Loading…
Reference in New Issue
Block a user