Recent Topics

Admin panel Sub Menu Creating



  • Hello,

    I want to create admin menu for my Blogs. The menu has been created successfully but Sub menu is not displaying.

    Menu Structure

    Blogs -
    Blogs category
    BLogs

    To create Menu I have changes on src/Config/admin-menu.php

    <?php

    return [
    [
    'key' => 'blogs',
    'name' => 'Blogs',
    'route' => 'blogs.admin.index',
    'sort' => 2,
    'icon-class' => 'dashboard-icon',
    ], [
    'key' => 'blogs.category',
    'name' => 'Category',
    'route' => 'blogs.admin.category',
    'sort' => 3,
    'icon-class' => '',
    ], [
    'key' => 'blogs.blogs',
    'name' => 'Blogs',
    'route' => 'blogs.admin.index',
    'sort' => 4,
    'icon-class' => '',
    ]
    ];

    After each changes I am running php artisan optimize

    But no sub menu has been crated

    Please Help



  • Hi @himanshu-kmr
    you are posting a duplicate query, Kindly revert your answers here https://forums.bagisto.com/topic/2255/creating-sub-menu-under-admin-panel/4 in which dev is already communicated.


Log in to reply