Installation
You'll probably need to run the gem installs with sudo
, (*1)
CSS/Sass/Compass
We've chosen to use compass and sass to generate our CSS., (*2)
gem install sass
, (*3)
gem install compass
, (*4)
gem install bootstrap-sass
, (*5)
gem install font-awesome-sass
, (*6)
Random Thoughts
WorkFlow
-
compass watch
- do this in pocket-watch module directory
- modified
.scss
files will be updated in compiled when changed, so can see results immediately
-
_variables.scss
is where a lot of easy customisation can happen (change colours, etc.)
Page Types
Gallery
Gallery Holder
Gallery Album
Gallery Item
Gallery Slice
See HomePage Slices, (*7)
Contact Forms need to be very specifically set up. To create our user form, we used the silverstripe/userforms
module.
Create three fields, (*8)
- `Textfield` Name
- `Emailfield` Email
- `Textfield` Message
Blog
Blog Post
Blog Slice
HomePage
Slices
Hero Slice
Gallery Slice