2017 © Pedro Peláez
 

silverstripe-module silverstripe-pocketwatch

Helper Module for Pocketwatch Theme

image

psukhedelos/silverstripe-pocketwatch

Helper Module for Pocketwatch Theme

  • Tuesday, March 15, 2016
  • by PsukheDelos
  • Repository
  • 2 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 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 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

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