ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Custom fields for member groups

December 04, 2012 5:41pm

Subscribe [1]
  • #1 / Dec 04, 2012 5:41pm

    ciadeveloper

    10 posts

    For a project my company is working on, we’d like to be able to define custom fields at the member group level (as opposed to the member level).  In our hierarchy, a group represents an organization where we’d like to define organizational level details (phone number, location, organization type, etc).  Then people with the organization will have member accounts and be placed into the appropriate member group for their organization. 

    It appears to me, member group level custom fields are not a part of ExpressionEngine (unless I’m completely overlooking it).  Does anyone know of an add-on that might accomplish this?  (I also can’t seem to find an add-on to accomplish this.)

    Otherwise, I see two options:  1) Define organizational information at the member level (resulting in duplication of data and possible different values for members within the same organization).  2) Define the information in a structured format in the the group description field and parse it out with PHP when i need to access it (my current method). 

    Any other thoughts?
    —Christian

  • #2 / Dec 04, 2012 5:46pm

    Rob Allen

    3105 posts

    I think the best approach would be to use a Channel to hold general organisation data. Perhaps have a custom field that has the value of the member group you want to associate to it, then you can reference that in your templates and pull in relevent info?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases