Hi, I'm not sure if this is the correct area for this question, but I'm very new to Umbraco and have a requirement to set up a site where different customers will access the same site, but see it with their own brand.
It must be the same site in IIS and re-using the same razor views and related code, but our business teams have a requirement to set up a new customer for the same site, with their own values for the configurable content data via Umbraco without relying on support or developer involvement.
eg. Site URL is www.mysite.com
Customer from ClientA visits (maybe via URL www.mysite.com/ClientA or perhaps www.mysite.com?brand=ClientA) and sees the version branded for them.
A customer from ClientB should be able to visit the same site but passing in their brand code instead and see their customized version.
My first question is: Is this acheivable? If so, what is the correct way to do it?
So after some thinking this through and a helpful answer on StackOverflow, I'm of the opinion that the best way to achieve this is using my own folder structure for content and putting a handler into the default.aspx page to route things according to the brand. I think I should then be able to write / extend helpers to follow an "inheritance" hierarchy, so that if content or settings haven't been overwritten in a particular brand, it picks up the default values. If anyone reads this and considers it a bad idea or thinks they have a better approach, I'd love to know about it as I'm new to Umbraco.
Same site, multiple brands
Hi, I'm not sure if this is the correct area for this question, but I'm very new to Umbraco and have a requirement to set up a site where different customers will access the same site, but see it with their own brand. It must be the same site in IIS and re-using the same razor views and related code, but our business teams have a requirement to set up a new customer for the same site, with their own values for the configurable content data via Umbraco without relying on support or developer involvement.
eg. Site URL is www.mysite.com
Customer from ClientA visits (maybe via URL www.mysite.com/ClientA or perhaps www.mysite.com?brand=ClientA) and sees the version branded for them.
A customer from ClientB should be able to visit the same site but passing in their brand code instead and see their customized version.
My first question is: Is this acheivable? If so, what is the correct way to do it?
I want to maximise code re-use.
Any help or pointers would be hugely appreciated.
Thanks in advance.
So after some thinking this through and a helpful answer on StackOverflow, I'm of the opinion that the best way to achieve this is using my own folder structure for content and putting a handler into the default.aspx page to route things according to the brand. I think I should then be able to write / extend helpers to follow an "inheritance" hierarchy, so that if content or settings haven't been overwritten in a particular brand, it picks up the default values. If anyone reads this and considers it a bad idea or thinks they have a better approach, I'd love to know about it as I'm new to Umbraco.
Many thanks.
is working on a reply...