I have a log-in page that needs to direct users to content based on their member group. Currently it is very simple with just two pages.
I have tried it using the single option and it directs correctly.
Example:
{exp:member:login_form return="member-area/" }
However, if I introduce a conditional into the mix, it does not redirect correctly:
{exp:member:login_form {if member_group == "5"} return="member-area/" {/if} {if member_group == "1" || member_group == "6" || member_group == "7" || member_group == "8"} return="internal-staff-center/" {/if} }
I suspect I have overlooked something. I would appreciate any assistance in getting this correctly.
Thanks.
Forrest