thekordy / ticketit

A simple helpdesk tickets system for Laravel 5.1+ which integrates smoothly with Laravel default users and auth system, demo is available at: http://ticketit.kordy.info/tickets
MIT License
875 stars 387 forks source link

Change Bootstrap Version in runtime #544

Open MmKargar opened 4 years ago

MmKargar commented 4 years ago

Hi Thanks for amazing package. I have two different user panel that one use bootstrap3 and other one using bootstrap4. how can i change the bootstrap version in runtime base on user role id ? i see kordy\ticketit\src\ticketServiceProvider.php that the all configuration of bootstrap version can easy change in it , but the problem is as you know i can't get authenticated user information in serviceProvider , and it should done on ViewComposer . I try to use laravel config helper too , but everything is configuration after the ServiceProvider.

How can i handle this?

thanks.

thekordy commented 4 years ago

May be this answer could help https://stackoverflow.com/a/49404326