#55 Laravel 11 Tutorial with MongoDB | Update Header Menu | Show Categories and Sub Categories
Автор: Stack Developers
Загружено: 2024-06-04
Просмотров: 77
Описание:
►Laravel 11 Tutorial (with MongoDB): • Laravel 11 Tutorial (with MongoDB)
This is Part 55 of the Laravel 11 Tutorial in which we are building the e-commerce website with Laravel as the front end and MongoDB as the back end.
In this part, we will start working on the header menu where we will show Categories, Sub-Categories, and Sub Sub-Categories in the header menu at the navigation bar.
First, we will resolve one Roles & Permission issue. Subadmins can able to access other subadmins details right now that we will not allow.
Update subadmins function:-
We will update the subadmins function at AdminController to resolve this issue.
Now, we will start working on the header menu.
Disable or Remove below navigation1 at line 73 that is not required.
Update header.blade.php :-
We will include the Category model and call the getCategories function in header.blade.php and integrate foreach loop categories, sub-categories, and sub-sub-categories in the header menu.
We will only show those categories that have subcategories under it otherwise we will not show them.
Now we are able to show Categories and Sub Categories dynamically in the header menu. We can add/remove any of the categories for the changes to take effect in the menu.
In the next part, we will work further on making the home page dynamic.
Thanks for watching :)
►Click here to subscribe for Laravel & other updates - / stackdevelopers
Popular Stack Developers Series that can help you:-
►Laravel 10 Tutorial Playlist: • Laravel 10 Tutorial: Make Admin Panel / E-...
►Laravel Multi-Vendor E-commerce Website - • Laravel Multi Vendor Tutorial
►React JS Tutorial for Beginners with Laravel - • React JS Tutorial with Laravel for Beginners
►Laravel Tutorial for Beginners - • Laravel Tutorial for Beginners | Advance E...
►GIT Tutorial for Beginners - • Git Tutorial for Beginners | Create your F...
►Laravel API Tutorial - • Laravel API Tutorial | Create API from Scr...
►Laravel Interview Questions - • Laravel Interview Questions & Answers | 20...
►jQuery Tutorial - • jQuery Tutorial
►Laravel Basic E-commerce Series - • Make Admin Panel / E-commerce Website in L...
►Laravel Dating Series - • Make Dating / Social Networking Website in...
►Join this channel to get the complete source code of all series:
/ @stackdevelopers
Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates - / stackdevelopers2
►Join Facebook Group to resolve your queries - / stackdevelopers
►Follow on Instagram - / stackdevelopers2
►Follow on GitHub - https://github.com/stackdevelopers
#laravel11 #laravel11tutorial #mongodb
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: