Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.48 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.48 KB

Make sure you have Elemental and Elemental-List installed prior to moving on to the next section.

Setup

Steps to install this on your SilverStripe:

  • Open your SilverStripe's src/composer.json.
  • Add the https://github.com/evanshunt/eh-ss-blocks URL to a repositories parameter.
      "repositories": [{
        "type": "vcs",
        "url": "https://github.com/evanshunt/eh-ss-blocks"
      }]
    
  • From the src folder run composer require evanshunt/elemental-addons --ignore-platform-reqs to install package.

Creating Templates

Within the project's templates folder create a EvansHunt/Elements folder. Inside this folder will be all the .ss files related to each element.

ContentElement

HalfAndHalfElement

ImageElement

BucketElement

BucketsListElement

CarouselElement

DocumentsListElement

To Dos

  1. Introduce a new CTA module for elements to use.
  2. Add documentation for each content block. Including template naming conventions.
  3. Create more blocks
    • Gallery
    • CTA Banners (left/right content options)
    • File lists
    • Two column text