- ABP Framework version: v7.3.2
- UI Type: Angular
- Database System: EF Core (MySQL)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace:
- Steps to reproduce the issue: I want subscribe settenant and setstyle events and based on the tenant name i would like to load a separate styles.css files. i have gone through below link but its very old version. but i would like to subscribe settenant event as shown in the below link. please suggest. https://support.abp.io/QA/Questions/83/Tenant-Settings
5 Answer(s)
-
0
Hello,
Could you please elaborate more on your question or please share steps to reproduce the issue.
thanks,
-
0
i would like to change the theme/globalstyles which overwrites the current theme based on subdomain. Angular UI we are using multi tenancy with subdomain. for each subdomain/tenant we would like to have separate goblastyles which overwrites the current default theme.
-
0
i would like to change the theme/globalstyles which overwrites the current theme based on subdomain. Angular UI we are using multi tenancy with subdomain. for each subdomain/tenant we would like to have separate goblastyles which overwrites the current default theme.
Please provide an update on this
-
0
its been 5 days and i have not seen any updated here. what kind of support are you providing.
-
0
Hi,
Actually if you think carefully you can solve this problem easily, In ABP DOCUMENTATION we have DESCRIBED how to reach CURRENT TENANT and this is OBSERVABLE which means you can TRACK current tenant. If you want to load style per tenant you can use tenant id, ORR
Track the URL via ANGULAR ROUTER EVENT and handle the DOMAIN and load styles VIA LAZY LOAD SERVICE sooo
in summary it was enough to make a little bit research and we're supporting for lack of system not for specific custom logic 🙂
I hope I could answer your question.