Summary | Horde Login page ignores theme selection |
Queue | Horde Base |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | ralf.lang (at) ralf-lang (dot) de |
Created | 02/07/2013 (4530 days ago) |
Due | |
Updated | 02/07/2013 (4530 days ago) |
Assigned | |
Resolved | 02/07/2013 (4530 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Then it's probably a testing error. Done as you said and now it works.
in $_prefs['theme'] ['value'];
Note that you can't change a pref value (like theme) and then reload
the login page and expect to see theme changes since pref values are
cached within the session. You need to destroy the browser session,
or try another browser, to see any changes.
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ Horde Login page ignores theme selection
Type ⇒ Bug
State ⇒ Unconfirmed
in $_prefs['theme'] ['value'];
How to reproduce:
I created an empty new theme folder "custom". I added the info.php
<?php
$theme_name = _("Custom");
I added a minimal screen.css
form[action^="https://"] input[type="submit"].horde-default {
background-image: url("graphics/locked-inv.png"),
url("graphics/button-default.png");
background-position: 95% center, left top;
background-repeat: no-repeat, repeat-x;
padding-right: 330px;
}
I configured $_prefs['theme']['value'] = 'custom';
This SHOULD make the login button very broad and ugly but in fact, it
does not change anything.
I added other CSS changes to verify that the theme is used once logged in.