В Чтв, 05/01/2006 в 02:08 +0100, Rakotomandimby Mihamina пишет:
> Hi,
> 
> On one CPS site, a trunk one, we would like members to have more
> attributes (telephone number, age/birth date, male/female,
> Organisational Unit [like in LDAP],...)
> They should be searchable.
> How/What should I do to get that?
> 

Hi.

For fast testing in ZMI you can manually do the following:
- Add corresponding fields in portal_schemas -> members, members_search
  You may need to set up 'ACL: write roles' to your new fields.
"Manager; Owner"(without quotes) should be sufficient.
- Add widgets to above fields in 
  portal_layouts -> members, members_search
  as well as in Layout tab of portal_layouts add rows or cells for your
fields to visually display them.
- After that you need to synchronize with Memberdata. Go to
portal_directories->members 'Synchronize' tab

If you need to code that in your product take a look at CPSDirectory
install script for clue.

Regards,
Ruslan

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to