[dev] horde/apps for virtualhosting with different themes

Anil Madhavapeddy anil@recoil.org
Wed, 25 Jul 2001 21:34:17 +0100


Atif Ghaffar wrote:
>
> I have a horde setup that server many domains.
> Currently all of them look the same.
>
> domain substitution etc is done with $SERVER_NAME etc
> and all works fine.

> Inorder for setup1 to have different lookandfeel that
> setup2, I have to create multiple setups.
>
> I have toyed with the possibility of having just one
> setup and load different template files based on domains.

Atif, I was just going through my old mail.  You should be able to do
this now, by altering the Registry::getTemplatePath() function to return
a template location based on the current virtual domain that you want.

Should be easy, since we don't use $conf['paths'] anymore.

Anil