jonnitto/headline

Last activity 29 Apr 2018 241
composer require jonnitto/headline

Headline for Neos CMS

1.1.1

Version
1.1.1
Type
neos-plugin
Release Date
Apr 29, 2018 20:40
Source
git
Distribution
zip
Requires
MIT
  • #flow
  • #neos
  • #headline
c103d6005af49a58ce6d2812e6f91e13962b751e

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

Jonnitto.Headline Package for Neos CMS

With this package you add a headline NodeType into Neos CMS.
You can choose the tagName and the style. Like that it's possible to have an h2 with the style of an h1.
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/headline --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.

Alignment support

If you want to add alignment support you can set the super types on the Headline node type:

'Jonnitto.Headline:Headline':
  superTypes:
    'Jonnitto.Headline:AlignmentLeft': true
    'Jonnitto.Headline:AlignmentCenter': true
    'Jonnitto.Headline:AlignmentRight': true

If you want to get a fast overview, take a look at Settings.yaml and NodeTypes.Content.yaml in the Configuration folder.

License

Licensed under MIT, see LICENSE

The content of the readme is provided by Github
The same vendor provides 28 package(s).