[cvs] [Wiki] changed: FAQ/Admin/Config

Ben Klang ben at alkaloid.net
Fri Mar 14 00:49:14 UTC 2008


bklang  Thu, 13 Mar 2008 20:49:14 -0400

Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision:  4.23
Change log:  Default portal block configuration information

@@ -215,8 +215,18 @@

 +++ How can I get back to the setup screen?

 You probably locked yourself out as an administrator because you properly
configured an authentication backend for Horde, but forgot to add yourself
as an administrator in the Horde configuration - see the paragraph above. If
you don't want to start from scratch by copying {{conf.php.dist}} to
{{conf.php}} again, you need to change the configuration file
{{horde/config/conf.php}} manually. Edit the {{$conf['auth']['admins']}}
setting and add your username, e.g. {{$conf['auth']['admins'] =
array('joe');}} or {{$conf['auth']['admins'] = array('joe at example.com');}}.
You can add several administrators using a comma separated list.
+
++++ How can I pre-configure a portal view for the users?
+
+You may have noticed within the Horde configuration an option to fix
certain portal blocks on the Portal screen.  The next question is often "how
are those blocks to be configured?"  The answer lies within the Horde
Preferences system.  The Horde preference that controls the layout of the
portal blocks and their settings is the 'portal_layout' preference.  This
preference is stored as a serialized array of data containing all the
information required to display the Portal.  However this format can be
tricky to come up with manually.  The easiest way to generate the value is
to set up your own portal view as you would like your users to experience
it.  Once you have done so, and saved the setting, the preference will be
saved to your configured Horde_Prefs backend.  At this point you can either
consult the Horde_Prefs backend directly (ie. pull the value directly from
SQL or the Base64 encoded value from LDAP) or you can use Horde's built-in
PHP Shell, accessible from the "Administration" menu.  To get your current
preference value, type the following into the PHP Shell text box:
+
+<code>
+echo $GLOBALS['prefs']->getValue('portal_layout');
+</code>
+
+This value can then be pasted into the file horde/config/prefs.php as the
default value of the 'portal_layout' preference.

 ++ IMP configuration

 +++ Can a single IMP installation serve different virtual hosts?


More information about the cvs mailing list