Customizing Fields

Discussion in 'Customization & add-ons' started by writestuff, Aug 29, 2008.

  1. writestuff

    writestuff New Member

    Joined:
    Aug 29, 2008
    Messages:
    6
    New guy question. I'm php illiterate but have mangaged to get a crude operation of aMember going in a test website.

    I see how to add fields with the Admin CP, but need some extra control that isn't obvious to me.

    For example, I can create a field with three radio buttons. They default to vertical display. Is there any way I can make them horizontal, i.e. on the same line?

    Second, can I create a field with two edit boxes (I guess you could consider this an array or simple matrix). Like the defaults in the signup page for user name, where there are two boxes on the line, one for first name, one for last name.

    Thanx. - Russ
  2. writestuff

    writestuff New Member

    Joined:
    Aug 29, 2008
    Messages:
    6
    Interesting... No one has wanted to do this before?
  3. medix

    medix New Member

    Joined:
    Dec 17, 2008
    Messages:
    9
    Hi,

    i hope its not too late to answer your question. I was just working with radio buttons today and i was wondering the same thing. Fortunately i found the solution and its very simple. Go to your templates folder and find add_field.inc.html. Open it and find at the very end the string for the radio buttons. Just change the <br /> for anything else such as a &nbsp; and thats it!.

    About your second request, sorry but i dont understand it very well.

    hope it helps.

Share This Page