noerdisch / neos-slick
Neos CMS plugin for a slick slider content element
Installs: 975
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 5
Forks: 4
Open Issues: 11
Language:JavaScript
Type:neos-plugin
Requires
- ext-json: *
- carbon/condition: ^1.1
- carbon/includeassets: ^3.0
- neos/flow: *
- neos/neos: ~4.0
- dev-master
- v1.5.0
- v1.4.0
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.0
- dev-greenkeeper/semantic-release-17.0.8
- dev-greenkeeper/conventional-changelog-eslint-3.0.8
- dev-greenkeeper/commitizen-4.1.2
- dev-greenkeeper/commitizen-4.1.1
- dev-greenkeeper/commitizen-4.1.0
- dev-greenkeeper/commitizen-4.0.5
- dev-greenkeeper/semantic-release-17.0.7
- dev-greenkeeper/semantic-release-17.0.6
- dev-greenkeeper/semantic-release-17.0.5
- dev-greenkeeper/commitizen-4.0.4
- dev-greenkeeper/@semantic-release/changelog-5.0.1
- dev-greenkeeper/@semantic-release/release-notes-generator-9.0.1
- dev-greenkeeper/semantic-release-17.0.4
- dev-greenkeeper/semantic-release-17.0.3
- dev-greenkeeper/semantic-release-17.0.2
- dev-greenkeeper/semantic-release-17.0.1
- dev-greenkeeper/@semantic-release/changelog-5.0.0
- dev-greenkeeper/@semantic-release/release-notes-generator-9.0.0
- dev-greenkeeper/@semantic-release/git-9.0.0
- dev-greenkeeper/semantic-release-17.0.0
- dev-greenkeeper/semantic-release-16.0.4
- dev-greenkeeper/semantic-release-16.0.1
- dev-greenkeeper/semantic-release-16.0.0
- dev-greenkeeper/semantic-release-15.14.0
- dev-greenkeeper/@semantic-release/release-notes-generator-7.3.5
- dev-greenkeeper/@semantic-release/changelog-3.0.6
- dev-greenkeeper/@semantic-release/release-notes-generator-7.3.4
- dev-greenkeeper/semantic-release-15.13.31
- dev-greenkeeper/@semantic-release/release-notes-generator-7.3.3
- dev-greenkeeper/@semantic-release/git-7.0.18
- dev-greenkeeper/semantic-release-15.13.30
- dev-greenkeeper/semantic-release-15.13.29
- dev-greenkeeper/@semantic-release/release-notes-generator-7.3.2
- dev-greenkeeper/@semantic-release/git-7.0.17
- dev-greenkeeper/@semantic-release/changelog-3.0.5
- dev-greenkeeper/semantic-release-15.13.28
- dev-greenkeeper/semantic-release-15.13.27
- dev-greenkeeper/conventional-changelog-eslint-3.0.4
- dev-greenkeeper/semantic-release-15.13.24
- dev-greenkeeper/semantic-release-15.13.21
- dev-greenkeeper/@semantic-release/release-notes-generator-7.3.0
- dev-greenkeeper/semantic-release-15.13.19
- dev-greenkeeper/commitizen-4.0.3
- dev-greenkeeper/commitizen-4.0.2
- dev-greenkeeper/commitizen-4.0.1
- dev-greenkeeper/commitizen-4.0.0
- dev-greenkeeper/commitizen-3.1.2
- dev-greenkeeper/@semantic-release/git-7.0.16
- dev-greenkeeper/@semantic-release/git-7.0.15
- dev-greenkeeper/cz-adapter-eslint-0.3.0
- dev-greenkeeper/@semantic-release/release-notes-generator-7.2.1
- dev-greenkeeper/semantic-release-15.13.18
- dev-greenkeeper/@semantic-release/git-7.0.14
- dev-greenkeeper/@semantic-release/git-7.0.13
- dev-greenkeeper/semantic-release-15.13.17
- dev-greenkeeper/semantic-release-15.13.16
- dev-greenkeeper/@semantic-release/changelog-3.0.4
- dev-greenkeeper/@semantic-release/release-notes-generator-7.2.0
- dev-greenkeeper/@semantic-release/git-7.0.12
- dev-greenkeeper/cz-adapter-eslint-0.2.0
- dev-greenkeeper/semantic-release-15.13.3
This package is auto-updated.
Last update: 2021-07-10 08:07:06 UTC
README
Slick Content Element for Neos CMS
This is a ready to use implementation of the Javascript package slick.
Installation
Most of the time you have to make small adjustments to a package (e.g., the configuration in Settings.yaml). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site package located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar) and run following command:
composer require noerdisch/neos-slick --no-update
The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Your desired package is now installed correctly.
Usage
This package uses background images as slide. If you want to use a fixed height for the slider you can use this as CSS:
.slick-slide { min-height: <your-slide-height>; } .slide__inner { height: 100%; width: 100%; position: absolute; }
Disabling / Enabling feature
The Slide and the Slider element have a few mixins, which you can enable / disable to add / remove a feature.
Example
If you want to disbale the autoplay option in the backend, you can do this:
'Noerdisch.Slick:Content.Slider': superTypes: 'Noerdisch.Slick:Mixin.Autoplay': false
Noerdisch.Slick:Content.Slider
Mixins
Mixin | Default value | Description |
---|---|---|
Noerdisch.Slick:Mixin.Autoplay | true | Autoplay option |
Noerdisch.Slick:Mixin.SlidesToScroll | true | How many slides scroll |
Noerdisch.Slick:Mixin.Infinite | true | Infinite scrolling |
Noerdisch.Slick:Mixin.Draggable | true | Draggable |
Noerdisch.Slick:Mixin.PauseOnHover | true | Pause on hover |
Noerdisch.Slick:Mixin.AnimationSpeed | true | Animation speed |
Noerdisch.Slick:Mixin.Fade | false | Fade |
Noerdisch.Slick:Mixin.Arrows | true | Arrows shown |
Noerdisch.Slick:Mixin.Dots | true | Dots shown |
Noerdisch.Slick:Mixin.SlidesToShow | true | Slide shown at once |
Noerdisch.Slick:Mixin.AdditionalClass | true | Additional CSS-Class |
Noerdisch.Slick:Mixin.Repsonsive.Sm | true | Responsive group mobile |
Noerdisch.Slick:Mixin.Repsonsive.Md | true | Responsive group tablet |
Noerdisch.Slick:Mixin.Repsonsive.Lg | true | Responsive group laptop |
Noerdisch.Slick:Mixin.Repsonsive.Xl | true | Responsive group desktop |
Noerdisch.Slick:Content.Slide
Mixins
Mixin | Default value | Description |
---|---|---|
Noerdisch.Slick:Mixin.BackgroundImage | true | Background iamge for Slide |
Noerdisch.Slick:Mixin.AdditionalClass | true | Additional CSS-Class |
Fade option
The fade options is disabled by default, because if you enable fade, the slides to show options isn't working. But you can simply enable it like this:
'Noerdisch.Slick:Content.Slider': superTypes: 'Noerdisch.Slick:Mixin.Fade': true 'Noerdisch.Slick:Mixin.SlidesToShow': false
Configuration
Noerdisch: Slick: # include the theme css file form slick theme: true backend: # disables autoplay in backend disableAutoplay: true # breakpoints for the repsonsive tab responsive: sm: 576px md: 768px lg: 992px xl: 1200px
Contribution
We'd love you to contribute to neos-slick. We try to make it as easy as possible. We are using semantic-release to have more time to concentrate on important stuff instead of struggling in the dependency or release hell.
Therefore the first rule is to follow the eslint commit message guideline.
It is really easy, when you always commit via yarn commit
. Commitizen will guide you.
All PRs will be merged into the master branch. Travis and semantic release will check the commit messages and start building a new release when the analysis of the latest commits will trigger that.
If you have questions just ping us on twitter or github.
License
The MIT License (MIT). Please see License File for more information.