FrontEnd Users - how to use with 2 different areas of site that use registration

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
kialn
New Member
New Member
Posts: 6
Joined: Tue Aug 21, 2007 11:14 pm

FrontEnd Users - how to use with 2 different areas of site that use registration

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: FrontEnd Users - how to use with 2 different areas of site that use registra

Post 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
kialn
New Member
New Member
Posts: 6
Joined: Tue Aug 21, 2007 11:14 pm

Re: FrontEnd Users - how to use with 2 different areas of site that use registra

Post 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.
Last edited by kialn on Tue Apr 15, 2008 9:51 pm, edited 1 time in total.
thoms
Forum Members
Forum Members
Posts: 84
Joined: Tue Dec 25, 2007 5:56 pm

Re: FrontEnd Users - how to use with 2 different areas of site that use registra

Post by thoms »

i don't understand your question.
Did you read and try what nullig wrote?
It's all there.

Thomas
JeremyBASS

Re: FrontEnd Users - how to use with 2 different areas of site that use registra

Post 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
Post Reply

Return to “Modules/Add-Ons”