This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

freekeywords1817
freekeywords1817

public function registerNavigation()

{
    return [
        'menus' => [
            'label'       => 'Menus',
            'url'         => Backend::url('hmm/menus/posts'),
            'icon'        => 'icon-pencil',
            'permissions' => ['blog.*'],
            'order'       => 500,

when I do like this , it informs a message : Class 'Hmm\Menus\Backend' not found . Please helping me ,thanks a lot

Daniel81
Daniel81

Place use Backend; above use System\Classes\PluginBase;

Last updated

freekeywords1817
freekeywords1817

@daniel81 Thanks a lot . Yup , it works via your method , thanks again

Last updated

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.