-
-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White labelling based on Tenant #347
Comments
One theme per tenant is one of the goals of multitenancy. Can you contribute with different themes? Basically you should have to create different versions of https://github.com/enkodellc/blazorboilerplate/tree/development/src/Shared/Modules/BlazorBoilerplate.Theme.Material. |
I can certainly take a look, on the approach that you recommended. Would you have to duplicate the BB.Theme.Material or could you harness the TenantSettings table? So when the application loads it detects the tenant and pulls the appropriate values:
Within the BB.Theme.Material, you would only have to add the logos and css sheets per tenant. Then once the application loads, it will detect the tenant, load the specific logo and css based on the key/value pair. |
There is just a theme setting. https://github.com/enkodellc/blazorboilerplate/blob/development/src/Shared/BlazorBoilerplate.Shared/Dto/Db/SettingKey.cs I think to save there the dll theme name, but I have to implement dynamic loading. Do you know oqtane framework? |
No, I am not too familiar with Oqtane Framework.... Within MatBlazer they have this: https://www.matblazor.com/Themes Based on that if you supplied a color code to the theme key within TenantSettings, that would in theory cover the basic, color scheme. If we need to save more then that i.e CSS I will need to dig into that a little bit. |
I am waiting to become familiar with Oqtane to implement theme loading. |
Okay, I have downloaded and played around with Oqtane Framework. Can I get an understanding of what your goal is with this? Are you planning on rewriting BB to use this framework, or just uses bits and pieces from it? |
No rewriting. |
@Stephen250 and @GioviQ -- please accept this as a gentle nudge to revisit this task. I'm beginning a deep dive into the tenant subsystem and would love to see how this feature gets implemented. |
Hello,
I checked out the Development branch yesterday and am really stoked about what I have seen regarding the Multi-tenancy.
I noticed that the Email Configuration is now tenant based and was wondering is there any plan todo tenant based white labelling (theme)?
Ex: I have three tenants:
The text was updated successfully, but these errors were encountered: