mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: updating documentation to use "Simple" theme
This commit is contained in:
parent
869bab2230
commit
e486ec41e0
@ -53,7 +53,7 @@ class SS_TemplateManifest {
|
||||
* ),
|
||||
* 'page' => array(
|
||||
* 'themes' => array(
|
||||
* 'blackcandy' => array(
|
||||
* 'simple' => array(
|
||||
* 'main' => '/path/to/theme/Page.ss'
|
||||
* 'Layout' => '/path/to/theme/Layout/Page.ss'
|
||||
* )
|
||||
|
@ -29,10 +29,9 @@ existing modules or the directories lists in "Core Structure".
|
||||
|
||||
## Themes Structure
|
||||
|
||||
| `themes/blackcandy/` | Standard "blackcandy" theme |
|
||||
| `themes/simple/` | Standard "simple" theme |
|
||||
| ------------------ | --------------------------- |
|
||||
| `themes/blackcandy_blog/` | Theme additions for the blog module |
|
||||
| `themes/yourtheme/` | The themes folder can contain more than one theme - here's your own |
|
||||
| `themes/yourtheme/` | The themes folder can contain more than one theme - here's your own |
|
||||
|
||||
|
||||
See [themes](/topics/themes)
|
||||
|
@ -19,7 +19,7 @@ is an MVC framework!
|
||||
|
||||
To start your theme you first need to create the basic folder structure for the theme. Check out the image below for the
|
||||
layout of your folders. First you need to create a folder in the themes directory called the name of your theme (we're
|
||||
using "blackcandy"). Please note that underscores in the theme name are reserved to denote "sub-themes" (e.g.
|
||||
using "simple"). Please note that underscores in the theme name are reserved to denote "sub-themes" (e.g.
|
||||
"blackcandy_blog").
|
||||
|
||||
![themes:basicfilestructure.gif](_images/basicfilestructure.gif)
|
||||
@ -236,7 +236,7 @@ The templating system will search for the appropriate files in the following ord
|
||||
3. module (eg blog)
|
||||
|
||||
So if, for example, you had a typography.css file for a module in the module folder (eg blog/css/), in the theme module
|
||||
directory (eg themes/blackcandy_blog/css/), and in your site folder (eg mysite/css/), the system would use the file
|
||||
directory (eg themes/simple/css/), and in your site folder (eg mysite/css/), the system would use the file
|
||||
mysite/css/typography.css
|
||||
|
||||
<div class="notice" markdown='1'>
|
||||
|
Loading…
Reference in New Issue
Block a user