and how does it goes?
prefs.php
// UI theme
$_prefs['theme'] = array(
#'value' => 'default',
'value' => 'green',
'type' => 'enum',
'enum' => Horde_Themes::themeList(),
'desc' => _("Select your color scheme.")
);
thats not the answer, it doesn't change the theme
and if i use a prefs.domain1.de.php, will this config be loaded if i
connect via domain1.de
strange thing
-------- Original-Nachricht --------
Betreff: Re: [imp] how to setup custom theme per domain ?
Datum: Mon, 18 Feb 2013 10:48:54 -0500
Von: Michael J Rubinsky <mrubi...@horde.org>
Antwort an: mrubi...@horde.org
An: imp@lists.horde.org
Quoting norbi <no...@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)
mrubi...@horde.org
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org