[imp] how to setup custom theme per domain ?

norbi norbi at rocknob.de
Mon Feb 18 15:26:37 UTC 2013


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'
         )
     ),


norbert


More information about the imp mailing list