Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1461 posts 1883 karma points
    Jan 19, 2009 @ 17:52
    Gordon Saxby
    0

    Configurable member category list?

    I am creating a "member" document type which holds details of members such as name, address, email, etc. It also holds a list of categories that they belong to - e.g. "Recruitment", "Training", etc.

    I thought I would create a "Checkbox List" datatype and add all the possible options ... and then thought it probably wasn't the best way of doing it! It's unlikely that the client will have access to the Developer section so they won't be able to add new categories.

    Is there a better way of doing it or is there a ready-built package that would help / cope with this?

  • Lesley 284 posts 143 karma points
    Jan 19, 2009 @ 18:18
    Lesley
    0

    Hi Gordon,

    Can you not just add these things as "generic properties" to your member type? Or am I missing the point??

    Lesley

    Edit:
    It occurs to me that you may be talking about properties of Users rather than Members(?), which I could understand because you can't add generic properties for a user type. If so, do ignore me!

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jan 19, 2009 @ 20:04
    Morten Bock
    0

    Lesley, I don't think the members section is involved. It's just a regular doctype.

    Gordon, You could create the "categories" as a set of nodes in a separate part of the site, and then use of of the "Multiple content picker" datatypes around to do the actual selection. You could also create a small dashboard usercontrol that allows the user to add prevalues to the datatype.

  • Gordon Saxby 1461 posts 1883 karma points
    Jan 19, 2009 @ 20:46
    Gordon Saxby
    0

    Yes that's right ... it's nothing to do with Umbraco members, they are members of the "organisation" that the site is for (Chamber of Commerce).

    Umm, the web site will show a page of categories, which will have member details within. However, the usual problem is one member may need to be in multiple categories!

    So, the categories will be nodes in the content ... could I extract that "list" of category nodes and populate a checkbox list?

    I need to search for a "multiple content picker" to see if / how it might help...

  • Gordon Saxby 1461 posts 1883 karma points
    Jan 19, 2009 @ 23:12
    Gordon Saxby
    0

    Just realised that UltimatePicker is part of V4, so that's handy!

    So far, its looking good - I've created a "Member Category" node containing "Category" nodes. The Member Category node is hidden from the navigation.

    I created a Member Category DataType based on UltimatePicker and pointed it at my "Member Category" node.

    The Member Details pages now list all "Category" nodes :d/

    All I've got to do now is sort some XSLT to extract / list the Categories and their assigned members :-k

Please Sign in or register to post replies

Write your reply to:

Draft