Page 1 of 1
FrontEnd Users - how to use with 2 different areas of site that use registration
Posted: Tue Apr 15, 2008 7:47 pm
by kialn
Hi,
I have 2 completely different areas of my site that need registration - but in the FrontEnd User Management module there is only one login template - which redirects to only one page after the person registers. How do it make it work with 2 different areas of my site??!
Help!
kia
Re: FrontEnd Users - how to use with 2 different areas of site that use registra
Posted: Tue Apr 15, 2008 8:04 pm
by Nullig
From the FrontEndUsers help:
# optional) returnto="page" - Used with the login, logout, and changesettings forms, this parameter contains the page id or alias of a page to redirect to, when the form has been successfully completed
# (optional) only_groups="group1, group2, group3" - Used with the login forms. Basically only allows users to login if they belong to that particular group(s).
So you could have 2 pages that call the tag with different parameters, like:
{cms_module module=FrontEndUsers form="login" only_groups="group1" returnto="group1page"}
{cms_module module=FrontEndUsers form="login" only_groups="group2" returnto="group2page"}
Nullig
Re: FrontEnd Users - how to use with 2 different areas of site that use registra
Posted: Tue Apr 15, 2008 8:55 pm
by kialn
Thanks, you're right, there in the help duh.
But this question is not - can I have 2 registration pages? and if not, how do I redirect to right group after registration.
Re: FrontEnd Users - how to use with 2 different areas of site that use registra
Posted: Wed Apr 16, 2008 9:36 am
by thoms
i don't understand your question.
Did you read and try what nullig wrote?
It's all there.
Thomas
Re: FrontEnd Users - how to use with 2 different areas of site that use registra
Posted: Tue Jul 08, 2008 7:08 pm
by JeremyBASS
kialn wrote:
Thanks, you're right, there in the help duh.
But this question is not - can I have 2 registration pages? and if not, how do I redirect to right group after registration.
hey did you figure this out? I'm tring to work this out now... would be great to have it in the forum or help about this lol... thanks