Implementing Dynamic SubMenu Items In Navigation Bar in Laravel | Tutorial

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

Комментарии • 10

  • @giridiwaadam1598
    @giridiwaadam1598 6 месяцев назад

    Thankyou So much for Tutorial :)

  • @almost_dead
    @almost_dead Год назад

    i am getting error
    if theres a menu named About us already and when i add submenu in About us
    it display About us two times in navbar where in one it is just the link and the other one containing the dropdown menu

  • @saldisucipto8639
    @saldisucipto8639 3 года назад

    Hi.. thanks for this video, this video save my day.. 🙏

  • @ASoqPathak
    @ASoqPathak 4 года назад

    la naaice work 🤘
    laravel sikna paune bhaiyo aba

  • @sadamabdi4951
    @sadamabdi4951 2 года назад

    how can i connect when i click menus i use this "{{ route ($mainMenu->url)}} this error 'Route [] not defined.'

    • @TapanSharma.
      @TapanSharma.  2 года назад

      Instead of using route() function, maybe you should pass the URL directly in the href directive, route function takes a route defined in the web.php file and hence it is throwing that error

  • @AndrewKwabula
    @AndrewKwabula 3 года назад

    How many levels deep does this support? Will it work if a sub menu item is added to a submenu?

    • @TapanSharma.
      @TapanSharma.  3 года назад

      Well you need to define the database structure accordingly, then you can add as many levels as you want.

  • @licopublicidade5220
    @licopublicidade5220 4 года назад

    Olá, muito boa sua aula. Estou tendo esse erro.
    SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value (SQL: insert into `sub_menu_items` (`updated_at`, `created_at`) values (2020-10-28 18:16:29, 2020-10-28 18:16:29))
    Pode me ajudar?

    • @TapanSharma.
      @TapanSharma.  4 года назад

      check your form for the name input field. It shud have attribute name="name" and also check mass assignment.