[turba] Question About Attribute Types

Jan Schneider jan at horde.org
Thu Jan 4 02:04:56 PST 2007


Zitat von Muskingum Web Manager <webmgr at muskingum.edu>:

> In a CVS install of Turba, I have setup an LDAP connection for a global
> address book. I only have one field that is not working as expected (which
> is a testament to how well Turba works when you follow instructions)!
>
> In my sources.php map, I have 'picurl' => 'muskingumPicUrl' included.
>
> In my attributes.php, I have included:
> $attributes['picurl'] = array(
>     'label' => _("Photo URL"),
>     'type' => 'link',
>     'required' => false
> );
>
> The value in muskingumPicUrl is:
> http://serveraddress/photos/imagename.JPG in which the server address is a
> separate server from Horde.
>
> If I set the attribute type to 'text' the field displays properly, so I know
> the map is correct. If I set the attribute to 'link' (because I would like
> to link to that address), it displays blank.

The "link" form field takes a hash with the url information as it's  
value, it can't deal with a single scalar string.
I don't think this is currently possible with Turba, unless I'm  
missing something.

Jan.

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



More information about the turba mailing list