Menu ▾ ▴

#8 Display Student names instead of IDs

open
nobody
Interface (2)
6
2005-02-24
2005-02-16
fRiSi
No

A group's base_view lists all the IDs of students
referenced by that group. It would be much better to
display fullname instead of the username.
Two ways to do that:
- either write a custom base_view
- or it may be better to use a more advanced reference
field

Discussion

  • Thomas Geiger

    Thomas Geiger - 2005-02-18

    Logged In: YES
    user_id=299484

    i think this feature could be needed at several places, so
    we should discuss how to provide a generic solution

     
  • fRiSi

    fRiSi - 2005-02-18

    Logged In: YES
    user_id=1160238

    don't you think that using a more advanced reference fields
    already is generic?
    please have a look at
    http://article.gmane.org/gmane.comp.web.zope.plone.archetypes.devel/3628/match=danny+reference
    maybe this widget is not what we are searching for, but at
    least it's a start

    i think the need for customizing references which
    information on the referenced object is presented is so big
    that there has to be a solution already.

    maybe its a good idea to ask on #archetypes

     
  • Thomas Geiger

    Thomas Geiger - 2005-02-19

    Logged In: YES
    user_id=299484

    Archetype References provide a listing that does
    title_or_id. So if you would like to have the username
    displayed, the easiest way would be to fill it into the
    title field.
    The resulting problem is, how to handle the cmfmember fields
    as data is getting duplicated, cmfmember now has id (used as
    user id), title (displayname in ref widgets) and fullname
    (used for metadata). I'd suggest to make fullname invisible
    as we don't have any need for it.

     
  • fRiSi

    fRiSi - 2005-02-21

    Logged In: YES
    user_id=1160238

    i think writing fillname to title and don't use fullnamen
    anymore will work for our purposes, but it's kinda hack.
    i'd prefer to use title for storing the name in the title
    field but leave fullname as a computed field as well (or
    even better: set the getter and setter methods to those of
    the title)
    in addition it would still be cool to find out if there is a
    more advanced/confiugrable referencewidget around

     
  • Thomas Geiger

    Thomas Geiger - 2005-02-21

    Logged In: YES
    user_id=299484

    we're gonna present a proposal to the cmfmember-team howto
    exploit the right widgets with the right labels

     
  • Thomas Geiger

    Thomas Geiger - 2005-02-24

    Logged In: YES
    user_id=299484

    okay - it seems we have to wait for the cmfmember guys.
    frisi please post a bug if needed ;)
    meanwhile I've changed import to populate title with
    fullname, too. so people get displayed in a nice way. ->
    setting priority to 6

     
  • Thomas Geiger

    Thomas Geiger - 2005-02-24
    • priority: 9 --> 6
     

Log in to post a comment.