Topic-icon JFBC Login button with redirect

Active Subscriptions:

None
11 years 11 months ago #45362 by paddyrolls
HI

I am using the easy tag {JFBCLogin}. Is it possible to add a redirect to the tag so that it redirects after a successful login? I have set a redirect under the component option Login/Logout, but I was hoping to control this at the tag level

Thanks

Patrick
The topic has been locked.
Support Specialist
11 years 11 months ago #45370 by alzander
Patrick,
Not yet. That's something we're hoping to add as a feature to a future release. Right now, the only control is over the login redirection or new user redirection supplied in the component.

Out of curiosity, what are you trying to do? It helps us understand our users needs when we know more about what you're trying to do. Do you have a few pages that you want to add the login button to and use a special redirection just for those pages, while other pages have a different redirection? Would you need control of the login (returning user) vs registration (new user) redirection in those cases as well?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 11 months ago #45447 by paddyrolls
Hi Alex

In this particular site setup, we would like a different redirection at the checkout pages versus when a user logs in from other pages. In the JFBC Component, we have set the redirection for returning users to "Stay on same page", because when they are logging in from the checkout pages, we do not want to redirect them away. However on non checkout pages, we would like to redirect them to say a welcome page or similiar.

Hope this makes sense.

Thanks

Patrick
The topic has been locked.
Support Specialist
11 years 11 months ago #45474 by alzander
Patrick,
Thanks for your explanation. I just tried to look quickly at our code to see if there would be a simple way to do this. If you only want 'Same Page' to work on your shopping pages, and they all have a similar URL, like /cart or even index.php?option=com_xyz, we can likely help you with a minor code change to determine if the user is on one of those pages and leave them there if so. If not, the user would go to the pre-defined login page.

For something more custom where many pages have different redirections, that would be more difficult.

I've added this idea to our investigation/to-do list for a future release for more flexibility in this type of scenario, but not sure when/if that will be available.

Thanks,
Alex
The topic has been locked.