Hi, I am trying to setup member:login to redirect the user to a different template based on their assigned Member Group. Here is what I have so far:
{exp:member:login_form
{if member_group == "10"} return="template/one"
{if:elseif member_group == "11"} return="template/two"
{if:else} return="template/three" {/if}
}However, it always reverts to the last if:else statement and returns to template/three (or whatever I put in there). It apparently is not reading the member_group variable.
Is this proper syntax? Is there a better way of coding this? Ideas?
Using EE2.1.0 and Solspace User.
Any help would be appreciated! Thank you!
Jeff