Copied to clipboard

Flag this post as spam?

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


  • Erik Nordin 1 post 21 karma points
    Jun 20, 2011 @ 11:33
    Erik Nordin
    0

    Adding headings to member groups

    Hi,

    my customer want to add headings for member group, like "Not in groups" / "In groups".

    Is this possible to acheive in an easy way?

    Version: umbraco v 4.5.2

    Regards
    Erik

  • Lesley 284 posts 143 karma points
    Jun 21, 2011 @ 00:11
    Lesley
    2

    Hi Erik,

    It depends what you call "easy" ;-)

    The easiest thing I can think of is to edit /umbraco/config/lang/en.xml and add to the member group description there; something like "right box = selected, left box = unselected". It won't be where you want it, but is easy and should give your editors enough of a clue for using the selection boxes.

    However, if your customer is desperate for headings above the boxes, it can be done with a bit more work. Two more options:

    The member group control is created by the source code, which you could edit if you are confident (see umbraco.cms.presentation.members).

    Or you may find it easier to use jquery to inject some additional HTML to the page. If you inspect the page source, you'll see the list boxes are in a table contained in a span with ID=bodyMembergroups, so you need to point to that table and add a new row with your headers. Put your jquery in /umbraco/members/editmember.aspx. It's not very elegant but should do the trick.

    Let us know how you get on!

    Lesley

Please Sign in or register to post replies

Write your reply to:

Draft