Skip to content

SilverStripe module to install basic custom elemental blocks

Notifications You must be signed in to change notification settings

evanshunt/eh-ss-blocks

Repository files navigation

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

About

SilverStripe module to install basic custom elemental blocks

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •