[horde] Hook to display name

Hans Lellelid hans at appliedsec.com
Thu Jan 9 05:35:14 PST 2003


Joaquim,

I'm new to Horde, but have had to deal with this issue myself.  What is
being displayed (you're using newest / CVS Horde, right?) is
Identity->getValue('fullname').  In the simplest/defalt scenario this is
just a preference ('fullname').  You can create a pref hook in hooks.php
to set this value (e.g. if your user accts are in the db):

Look in /horde/config/hooks.php to see examples of how this would/could
work.

Note that you do have to have a $_prefs defined for 'fullname'.  And
note that the pref _must_ have a 'value' key set to ''.  E.g.
	$_prefs['fullname'] = array(
		'hook' => true,
		'value' => '',
		'locked'=>true,
		'shared'=>true,
		'type'=>'implicit'
	);

Hans

-----Original Message-----

When a user logs in to Horde, the framework displays something
to the effect of "Welcome, <userid>". Is there a hook in the
current (or future) release where I can affect what is displayed
instead of <uid>?


-Joaquim


___
 .: +46 70 7745707
 .: Domo arigato gozaimashita
 .: At the end of a smile, there is a laugh and a 1/2

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3549 bytes
Desc: not available
Url : http://lists.horde.org/archives/horde/attachments/20030109/5408342a/smime-0001.bin


More information about the horde mailing list