[turba] Link Attribute Type Usage

Jan Schneider jan at horde.org
Wed Apr 26 08:32:24 PDT 2006


Zitat von Mike Bydalek <mbydalek at compunetconsulting.com>:

> Hello.
>
> I upgraded a while ago to Turba 2.x from 1.x and I have a real custom
> set of attributes set in conf/attributes.php  They all seem to work as
> expected, except for one which I have a  'type' = 'link', eg:
>
> $attributes['spouse'] = array(
>     'label' => _("Spouse/Partner Name"),
>     'type' => 'link',
>     'required' => false,
>     'params' => array ('values' => array ('page' => 'display.php',
>                                           'params' => array ('source' =>
> 'members',
>                                                              'key' =>
> 'uid=__USERNAME__,dc=domain,dc=com')))
> );

The link field takes the following parameters: url, text, target,  
onclick, title, accesskey. url and text are required.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list