[imp] how to setup custom theme per domain ?

Michael J Rubinsky mrubinsk at horde.org
Mon Feb 18 15:48:54 UTC 2013


Quoting norbi <norbi at rocknob.de>:

> hi list,
>
> how can i setup different themes, with different domainnames?
>
> like:
>
> domain1.de shows me a green theme
> domain2.de shows me a blue theme
>
> i have copyed the directory "themes/default" to "themes/green" and  
> "themes/blue" and have changed the name in "themes/green/info.php"  
> and "themes/blue/info.php" , same with "templates/default" to  
> "templates/green" and "templates/blue".
>
> but what does i need in "registry-domain1.de.php" and  
> "registry-domain2.de.php"
>
> changing there "themesfs", or "templates" just load the theme  
> "default" from horde :(
>
> "GET /horde/themes/default/graphics/logo.png HTTP/1.1" 200 2337  
> "http://webmailtest.domain1.de/horde/themes/default/screen.css?v=7518defebaf976cab73da94a232a89b6" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101  
> Firefox/18.0"
>
>
> registry-config
>
> $this->applications = array(
>     'horde' => array(
>         'initial_page' => 'imp/index.php',
>         'name' => 'Startseite',
>         'templates' => $app_fileroot . '/templates/green',
>         'themefs' => $app_fileroot . '/themes/green',
>         'provides' => 'imp',
>     ),
>
>     'imp' => array(
>         'name' => _("Mail"),
>         'themefs' => $app_fileroot . '/themes/green',
>         'provides' => array(
>             'mail',
>             'contacts/favouriteRecipients'
>         )
>     ),

No, what you want is to set the default theme in a domain specific  
prefs.php file.

-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6062 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/imp/attachments/20130218/39d14845/attachment.bin>


More information about the imp mailing list