Metronic -> header bar menu customisation
Hi ,
I just purchased the Metronic Template.
I am using laravel (bit new to Laravel, previously Java Developer)
I am able to modify the menu for sidebar , but unable to modify the Header menu bar menus.
i have tried to make changes to :
resources/views/layout/partials/header-layout
But changes dosen't seem to take any effect.
Replies (2)
Hey @faizal
I have tried to change the default layout sidebar to the header
I have followed the all steps you mentioned but I'm facing an error after the changes
InvalidArgumentException
View [partials.theme-mode._main] not found.
\resources\views\layout\partials\header-layout\header\_navbar.blade.php : 44
Hi,
To modify the Header menu bar menus in your project, please follow these steps:
- Open the file
/starterkit/app/Core/Bootstrap/BootstrapDefault.php. - Look for the line that contains
$this->initDarkHeaderLayout();. - Remove the comment from that line to enable the Dark Header Layout.
Next, proceed with the following steps:
- Open the file
/starterkit/app/View/Components/DefaultLayout.php. - Locate the line that sets the view path, which should look like this:
- Modify the view path to point to the
_default_header_layoutfile. Update the line as follows:
By making these changes, you should be able to modify the Header menu bar menus. Please give it a try and see if it resolves the issue. If you have any further questions or need additional assistance, feel free to ask.
Thanks