Re: domain-wide patterns for enterprise/person attribute editor

Renzo Vettori <[email protected]> Thu, 14 May 2009 17:51:11 +0200
Newsgroups gmane.comp.cms.opengroupware.user
Message-ID <[email protected]>
Thank You very much, Adam. I think it will be ok to put them in in 
template users' defaults.

Renzo Vettori

Adam Tauno Williams ha scritto:
> On Thu, 2009-05-14 at 16:38 +0200, Renzo Vettori wrote:
>> I mean the per-user "configure".
> 
> These are stored in the user's defaults [$DOCROOT/$OBJECTID.defaults] in
> the persons_view_attributes & enterprises_view_attributes properties.
> Some of these properties can be set through the use of template users;
> so if a user is associated with template user X then when they log in
> they start with a copy of X's defaults rather than a blank-slate.  But I
> don't think there is any way to set these via the user manager.  You
> could probably script the change into all the .defaults files.
> 
> There is also the tool "ogo-defaults" which is installed in a default
> OGo install that "Tool to manipiulate the defaults database of a specific
> OGo user" but I haven't used it (although t looks WMOGAG worthy).
> 
> The defaults in question look like :
>     "persons_sub_view" = attributes;
>     "persons_view_attributes" = {
>         " " = (
>             birthday,
>             keywords,
>             comment,
>             contact,
>             degree,
>             email1,
>             email2,
>             "10_fax",
>             "15_fax_private",
>             firstname,
>             sex,
>             middlename,
>             name,
>             nickname,
>             owner,
>             salutation,
>             "01_tel",
>             "02_tel",
>             "05_tel_private",
>             url,
>             objectVersion
>         );
>     };
> 
> 

-- 
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users