jonnitto/textwithpicture

This package is abandoned and no longer maintained. No replacement package was suggested.

Text with responsive picture for Neos CMS

Installs: 879

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 0

Language:SCSS

Type:neos-plugin

1.1.2 2020-03-25 21:31 UTC

This package is auto-updated.

Last update: 2022-04-05 14:22:38 UTC


README

Latest Stable Version Total Downloads License GitHub forks GitHub stars GitHub watchers GitHub followers Follow Jon on Twitter

Jonnitto.TextWithPicture Package for Neos CMS

With this package you add a <picture> NodeType with text into Neos CMS.
Contributions are very welcome!

Installation

Most of the time you have to make small adjustments to a package (e.g. 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 packages 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 jonnitto/textwithpicture --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. Et voilà! Your desired package is now installed correctly.

Lightbox support

If you want to add lightbox support you can set the super types on the Picture node type:

'Jonnitto.TextWithPicture:TextWithPicture':
  superTypes:
    'Jonnitto.Picture:Lightbox': true
    'Jonnitto.Picture:Caption': true

After that, you can install Jonnitto.PhotoSwipe via composer: composer require jonnitto/photoswipe
Et voilà: You've just included PhotoSwipe

License

Licensed under MIT, see LICENSE