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? I know how to do this with the "Sign Up" pages, but not for the "Edit Profile" page. Thanks, --Brian
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!