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
FrontEnd Users - how to use with 2 different areas of site that use registration
Re: FrontEnd Users - how to use with 2 different areas of site that use registra
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
# 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
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.
But this question is not - can I have 2 registration pages? and if not, how do I redirect to right group after registration.
Last edited by kialn on Tue Apr 15, 2008 9:51 pm, edited 1 time in total.
Re: FrontEnd Users - how to use with 2 different areas of site that use registra
i don't understand your question.
Did you read and try what nullig wrote?
It's all there.
Thomas
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
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... thankskialn 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.