Laravel-adminlte: usermenu_enabled not working

Created on 10 Mar 2020  路  14Comments  路  Source: jeroennoten/Laravel-AdminLTE

Hi,

I change in my config\adminlte.php

'usermenu_enabled' => true,

Only there is no effect.
I see only log out in the header.

I use laravel 6.18.0.
Adminlte 3.10

Most helpful comment

馃憤 I hope you like my new implementation of the usermenu 馃槃

All 14 comments

If you updated it recently you will need to regenerate the views too.

I already did this

php artisan adminlte:update

Basic Assets Installation complete.

php artisan vendor:publish --provider="JeroenNoten\LaravelAdminLte\AdminLteServiceProvider" --tag=views

Unable to locate publishable resources.
Publishing complete.

Others setting will change

adminlte:update is only shortcut for updating the assets you need to run adminlte:install 鈥攐nly=main_views 鈥攆orce.

That was the problem, Thank you!

馃憤 I hope you like my new implementation of the usermenu 馃槃

Amazing @REJack !!!!
addBefore, addAfter .. working like a charm !!! Thank you very much

Yeas @REJack . It is very nice!!

I've the same problem, fresh installation, and assets are updates..
Nothing works

This is the config section:

    'usermenu_enabled' => true,
    'usermenu_header' => true,
    'usermenu_header_class' => 'bg-primary',
    'usermenu_image' => true,
    'usermenu_desc' => true,

@BoGnY Please post the require/require-dev section of you composer.json or the whole composer.lock file.

@REJack sorry my fault..
I have not removed <script src="{{ mix('js/app.js') }}"></script> from blade, in this file was loaded jquery, bootstrap, and other library again, and this make app crashing 馃
I have removed duplicated library from resources/js/app.js and now works 馃憤

@BoGnY Ok 馃槃

Hi guys! Isn't there a way to use the usermenu without publishing the main views?

Hi @siljanoskam! you can copy the html of the views into your project.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bbdangar picture bbdangar  路  5Comments

claytongf picture claytongf  路  5Comments

Basili0 picture Basili0  路  5Comments

jlcanizales picture jlcanizales  路  3Comments

sebian29 picture sebian29  路  4Comments