Download the PHP package arsors/globalcontent without Composer
On this page you can find all versions of the php package arsors/globalcontent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arsors/globalcontent
More information about arsors/globalcontent
Files in arsors/globalcontent
Package globalcontent
Short Description A NEOS extension package which adds a new page document type. It allows you to create global content and read it everywhere from fusion.
License MIT
Homepage https://github.com/arsors/GlobalContent
Informations about the package globalcontent
Arsors.GlobalContent
A NEOS extension package which adds a new page document type. It allows you to create global content and read it everywhere from fusion.
Install
Drop composer require arsors/globalcontent
in your NEOS Project.
Setup single global content page
- Create a
NodeTypes.GlobalContent.yaml
in your site package configuration folder. -
Fill into
NodeTypes.GlobalContent.yaml
and adjust: - Add one
Global Content
page to your site.
Setup multiple global content pages
For multiple global content pages you have to add and adjust the Settings.yaml of your package. Also you have to add your global content yaml configuration and set your NodeType(s) to the Arsors.GlobalContent:Abstract prototype in fusion.
Follow these steps to achieve multiple global content pages:
-
Add and adjust to your
Settings.yaml
: - Create a
NodeTypes.GlobalContent.yaml
in your site package configuration folder. -
Fill into
NodeTypes.GlobalContent.yaml
and adjust: -
Add to your fusion file:
- Add your global content pages to your site.
TIP If you want to deactivate the standard global content NodeType see below.
Read global properties
- Get the contents by fusion with:
Deactivate standard global content NodeType
- Add
'Arsors.GlobalContent:GlobalContent': ~
in a NodeTypes yaml file