Multiple Profile Edit Screens?

Discussion in 'Integration' started by brian_lo, May 24, 2007.

  1. brian_lo

    brian_lo New Member

    Joined:
    Aug 22, 2006
    Messages:
    1
    On my site, (Assist.com) We have different membership options.

    And I have added several "custom" fields to the sign up / profile screen.

    I'd like to be able to display (allow edit) different fields for different classes of members.

    For example, we have Artists, Bands, Disc Jockeys, Small Business Owners, Direct Sales Reps, etc.

    And it would be nice to have different fields "visable" for each class of members to edit.

    I.e. it does not make sense for a Small Business Owner to see "Next Concert Date" but it does for an Artist, Band or DJ.
    Nor do very many Artists, Bands and DJ's offer "coupons", although some do . :)

    Is there an easy way to do this? :confused:

    I know how to do this with the "Sign Up" pages, but not for the "Edit Profile" page.

    Thanks,

    --Brian
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Right now it is not easy to do, but we are working to make it easy in future versions of aMember.
  3. joe_asto2

    joe_asto2 New Member

    Joined:
    Aug 22, 2006
    Messages:
    68
    You could do this on one page using smarty if/else statements.

    Code:
    {if $user.profession eq "DJ"}
    <!-- Fields for Disk Jockeys -->
    {elseif $user.profession eq "Artist"}
    <!-- Fields for Artists -->
    {elseif $user.profession eq "SBO"}
    <!-- Fields for Small Business Owners -->
    {else}
    <!-- Generic Fields for Anyone Else -->
    {/if}
    
    etc
    
    I use code a bit like this on my member profile pages.

    Site is launching tonight!

Share This Page