mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-10-22 09:05:50 +00:00
The SS installer sets i18n::set_locale() based on user selection. While much of the content isn't localized, it'll at least have the correct script alignment (e.g. right-to-left for arabic).
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 calledthemes/simple/templates
. -
Add the following to your
mysite/_config.php
file. Remove any existingSSViewer::set_theme
lines.SSViewer::set_theme("simple"); HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'highlight=highlight;no-border=no-border,break=break');
Description
Languages
CSS
80.8%
Scheme
11.7%
JavaScript
7.5%