This Neos Plugin contains a folder node type. This folder isn't rendered in the URI by default.
The main idea and code is from @sebobo from this Gist. Thanks for that!!!
This package overrides the FrontendNodeRoutePartHandler
.
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 manfest of 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 the following command:
composer require breadlesscode/neos-nodetypes-folder --no-update
The --no-update
command prevents other dependencies from being updated. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. The package is now installed correctly.