AnsweredAssumed Answered

Themes by Domain (for Multi-Tenant Deployments)

Question asked by jasondalycan on May 6, 2010
Latest reply on Sep 29, 2010 by andrew.wilson
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

Outcomes