[imp] Fwd: Re: how to setup custom theme per domain ?
Michael J Rubinsky
mrubinsk at horde.org
Mon Feb 18 16:07:22 UTC 2013
*Please don't top post*
Quoting norbi <norbi at rocknob.de>:
> 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
If you indeed used prefs.php, then that is not the domain specific file.
> and if i use a prefs.domain1.de.php, will this config be loaded if i
> connect via domain1.de
Yes.
Also, this will only change the theme for people that have not changed
their theme locally in their own prefs.
>
> 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 <mrubinsk at horde.org>
> Antwort an: mrubinsk at horde.org
> An: imp at lists.horde.org
>
>
> 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
--
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/db191789/attachment-0001.bin>
More information about the imp
mailing list