thelogicstudio/elemental-showcaseblock

A Showcase block that is compatible with SilverStripe Elemental

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

v1.0.0 2024-03-05 00:40 UTC

This package is auto-updated.

Last update: 2024-12-04 00:41:03 UTC


README

A Showcase block that is compatible with SilverStripe Elemental. This can be used to make a sponsor logo carousel or a banner.

Installation

  1. Add these in your composer.json file.
"require": {
        "dnadesign/silverstripe-elemental": "^5.0",
        "undefinedoffset/sortablegridfield": "^2.2",
        "thelogicstudio/elemental-showcaseblock": "*@dev"
},
"repositories": [
        { "type": "vcs", "url": "https://github.com/thelogicstudio/elemental-showcaseblock" }
],
  1. Install from Composer
composer{PHP VERSION} require thelogicstudio/elemental-showcaseblock

e.g: composer82 require thelogicstudio/elemental-showcaseblock

  1. Include the SCSS in YOUR-THEME/scss/bundle.scss
@import "thelogicstudio/elemental-showcaseblock/scss/_showcaseblock";
  1. Add this to elements.yml
Page:
  extensions:
    - DNADesign\Elemental\Extensions\ElementalPageExtension

Note you'll need the Composer vendor folder set up in includePaths for SASS in your Gulpfile unless you are using the SS4-BASE-THEME.