Custom Menu Entries

To add custom modules (or any other custom pages) to the textstem menu, update the textstemapp config with a modules entry like this:

    'modules' => [
        [
            'access' => 'list subscribers',
            'label' => 'Subscribers',
            'path' => '/textstem/subscribers',
        ],
        [
            'access' => 'list contacts',
            'label' => 'Contacts',
            'path' => '/textstem/contacts',
        ],
    ],

By default, these menu entries will be grouped in the "Modules" section in the menu. Items can be put into other groups such as "Tools" by adding a "group" attribute:

'modules' => [
        [
            'group' => 'Tools',
            'access' => 'update subscribers',
            'label' => 'Clean Subscriber Data',
            'path' => '/textstem/subscribers/clean',
        ],
     ...
    ],