cancel
Showing results for 
Search instead for 
Did you mean: 

Themes by Domain (for Multi-Tenant Deployments)

jasondalycan
Champ in-the-making
Champ in-the-making
Hi All,

Just a quick FYI that my company has developed an Alfresco 3.2 patch that enables skinning by tenant domain.

In short, the patch involves a small update to alfresco-template.ftl that parses the @domain.tld portion of the active user ID and forwards CSS references to the theme subdirectory alfresco/tomcat/webapps/share/themes/domain.tld.  Thus upon creation of a tenant, all that's required by the Alfresco system administrator is the creation of a share/themes/domain.tld subdirectory – copied and pasted from one of the default themes and then modified as required.

Interested parties can just give me a shout and I'll share the source.  Maybe the Alf devs will want to add such functionality to the base distribution.

NOTE: We developed the patch for 3.2 as 3.2r and 3.3 are not fully functional in multi-tenant mode: 3.2r fails to restart when in MT mode and 3.3 sites are inaccessible upon restart when in MT mode (Spring exceptions are thrown).


cheers
-JASON
1 REPLY 1

andrew_wilson
Champ in-the-making
Champ in-the-making
Hello Jason.

I've just started using Alfresco and skinning multiple tenancies is one of our requirements, so it would be great if you could share the source.

What issues have you had with 3.3? I'm using 3.3g and have created a number of tenancies and don't have problems with with them, even after a restart.

Regards,

  Andrew