2017 © Pedro PelĂĄez
 

neos-carbon primarycontent

Extended implementation from PrimaryContent

image

carbon/primarycontent

Extended implementation from PrimaryContent

  • Tuesday, July 17, 2018
  • by jonnitto
  • Repository
  • 2 Watchers
  • 0 Stars
  • 15 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Latest Stable Version Total Downloads License GitHub forks GitHub stars GitHub watchers, (*1)

Carbon.PrimaryContent Package for Neos CMS

Version Neos
1.* 3.*
3.* 4.*
>= 3.0.3 4.* - 7.*

Carbon.PrimaryContent:PrimaryContent

This is an own implementation from PrimaryContent. If a document node has a prototype with a .MainContent or a .PlainContent suffix this prototype will be used as content. Otherwise, the ContentCollection will be rendered. It is also possible to pass your own content., (*2)

Carbon.PrimaryContent:ClassArray

Raw Array of the css classes for the Carbon.PrimaryContent:PrimaryContent. Can be used also for the body tag., (*3)

Carbon.PrimaryContent:NodeTypeName

Convert a name from a nodetype to a hyphen-case-string. Make use of Carbon.PrimaryContent:RemoveVendors., (*4)

Carbon.PrimaryContent:RemoveVendors

If you want to remove some of the vendor names from the NodeTypeName, this helper is for you. Per default it will read the setting Carbon.PrimaryContent.removeVendors, (*5)

Example:, (*6)

prototype(Carbon.PrimaryContent:NodeTypeName) {
    @process.removeVendorName = Carbon.PrimaryContent:RemoveVendors {
        vendors = ${['Vendor', 'Foo', 'Bar']}
    }
}

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:, (*7)

composer require carbon/primarycontent --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., (*8)

To install the package under Neos 3.* you have to enter, (*9)

composer require "carbon/primarycontent:^1.0" --no-update

License

Licensed under MIT, see LICENSE, (*10)

The Versions

17/07 2018

dev-master

9999999-dev

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

17/07 2018

2.0.2

2.0.2.0

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

17/07 2018

v1.x-dev

1.9999999.9999999.9999999-dev

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

17/07 2018

1.0.4

1.0.4.0

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

12/07 2018

1.0.3

1.0.3.0

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

12/07 2018

2.0.1

2.0.1.0

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

12/07 2018

2.0.0

2.0.0.0

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

12/07 2018

1.0.2

1.0.2.0

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

03/07 2018

1.0.1

1.0.1.0

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion

05/06 2018

1.0.0

1.0.0.0

Extended implementation from PrimaryContent

  Sources   Download

MIT

The Requires

 

helper carbon content flow neos fusion