Closed m333w closed 5 years ago
Why do that when its optional in the users Account Settings
. That way they can choose what they prefer.
Otherwise there is a few other ways you can achieve what you want.
1) Change the default of 0 for nav
column in users table to 1
OR
2) In /app/Http/Controllers/Auth/RegisterController.php
Find this line:
$user->style = config('other.default_style', 0);
https://github.com/HDInnovations/UNIT3D/blob/51dbce217ec7a695de82fde7dd3ccc867d145cdb/app/Http/Controllers/Auth/RegisterController.php#L91
and add after it
$user->nav = 1;
Thank you :)
Hi all,
First thx for all that work, i love it. Someone can tell me how i can set the "Side navigation" to "Expanded" for all user ?
Best regards.