rias/statamic-collection-groups

There is no license information available for the latest version (v1.1.0) of this package.

v1.1.0 2022-05-18 10:12 UTC

This package is auto-updated.

Last update: 2024-10-18 15:22:41 UTC


README

Latest Version

Collection Groups

Collection Groups for Statamic 3.

Group your collections into separate groups, this also removes the collections from the "Collections" nav item

Installation

Require it using Composer.

composer require rias/statamic-collection-groups

Publish the configuration file

php artisan vendor:publish --provider="Rias\CollectionGroups\ServiceProvider"

The config file will be in config/statamic/collection-groups.php.

You can create groups by providing an array in the config file:

<?php
return [
    'Group 1 label' => [
        'collection_handle_1',
        'collection_handle_2',
    ],
    'Group 2 label' => [
        'collection_handle_3',
        'collection_handle_4',
    ]
];

Brought to you by Rias