ticketit icon indicating copy to clipboard operation
ticketit copied to clipboard

Change Bootstrap Version in runtime

Open MmKargar opened this issue 4 years ago • 1 comments

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.

MmKargar avatar Dec 23 '19 08:12 MmKargar

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

thekordy avatar Dec 24 '19 21:12 thekordy