You'll probably need to run the gem installs with sudo
###CSS/Sass/Compass###
We've chosen to use compass and sass to generate our CSS.
####Install Sass####
gem install sass
####Install Compass####
gem install compass
####Install Bootstrap-Sass####
gem install bootstrap-sass
####Install FontAwesome::Sass####
gem install font-awesome-sass
####Random Thoughts#### ####WorkFlow####
compass watch
- do this in pocketwatch theme directory ('/themes/pocketwatch')
- 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.)
See HomePage Slices
Contact Forms need to be very specifically set up. To create our user form, we used the silverstripe/userforms
module.
Create three fields
- `Textfield` Name
- `Emailfield` Email
- `Textfield` Message