2017 © Pedro Peláez
 

silverstripe-theme silverstripe-pocketwatch-theme

A Simple, Responsive Silverstripe Theme

image

psukhedelos/silverstripe-pocketwatch-theme

A Simple, Responsive Silverstripe Theme

  • Wednesday, March 16, 2016
  • by PsukheDelos
  • Repository
  • 3 Watchers
  • 1 Stars
  • 26 Installations
  • CSS
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

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)

Install Sass

gem install sass, (*3)

Install Compass

gem install compass, (*4)

Install Bootstrap-Sass

gem install bootstrap-sass, (*5)

Install FontAwesome::Sass

gem install font-awesome-sass, (*6)

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.)

Page Types

See HomePage Slices, (*7)

Contact

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

The Versions