PHPackages                             philippoehrlein/kirby-navigation-groups - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. philippoehrlein/kirby-navigation-groups

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

philippoehrlein/kirby-navigation-groups
=======================================

A Kirby Plugin for grouping navigation items

1.1.2(1y ago)20157[1 issues](https://github.com/philippoehrlein/kirby-navigation-groups/issues)MITVuePHP &gt;=8.0

Since Nov 26Pushed 1y ago2 watchersCompare

[ Source](https://github.com/philippoehrlein/kirby-navigation-groups)[ Packagist](https://packagist.org/packages/philippoehrlein/kirby-navigation-groups)[ Docs](https://github.com/philippoehrlein/kirby-navigation-groups)[ RSS](/packages/philippoehrlein-kirby-navigation-groups/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (11)Used By (0)

Kirby Navigation Groups
=======================

[](#kirby-navigation-groups)

[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)[![Version](https://camo.githubusercontent.com/c006a02e4da7ba88aa6e912519176bcefee0d11fa8b798cb61a704ecd5dd8c78/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e312e322d626c7565)](https://camo.githubusercontent.com/c006a02e4da7ba88aa6e912519176bcefee0d11fa8b798cb61a704ecd5dd8c78/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e312e322d626c7565)

A plugin for Kirby CMS that allows you to organize your navigation items into groups.

[![Cover Kirby Navigation Groups](.github/kirby-navigation-groups-cover.png)](.github/kirby-navigation-groups-cover.png)

Features
--------

[](#features)

- Create and manage navigation groups
- Drag &amp; drop interface for organizing pages
- Sync sort order with folder structure
- Multi-language support (EN, DE, FR, ES, IT)
- Customizable group fields

Installation
------------

[](#installation)

### Download

[](#download)

Download and copy this repository to `/site/plugins/kirby-navigation-groups`

### Composer

[](#composer)

```
composer require philippoehrlein/kirby-navigation-groups
```

Usage
-----

[](#usage)

1. In your blueprint, add a field of type `navigationgroups`:

```
fields:
  navigation:
    label: Navigation
    type: navigationgroups
```

2. Optional: Add custom fields to your groups and filter pages by status:

```
fields:
  navigation:
    label: Navigation
    type: navigationgroups
    status: listed
    fields:
      description:
        type: textarea
        label: Description
      toggle:
        label: Toggle group
        type: toggle
        text:
          - "no"
          - "yes"
```

Options
-------

[](#options)

The plugin supports the following options:

- `status`: Filter for page status ('all', 'listed', 'unlisted', 'published', default: 'listed')
- `fields`: Additional fields for groups

Field Methods
-------------

[](#field-methods)

The plugin provides the Field Method `toGroupItems()` to access the stored navigation items:

```
