I want to use the redirect action after user log in. I added the redirect action to Success section of Joomla Login. User is logging in correctly, but the redirect is not working.
I want my users to be redirected to
/index.php?option=com_content&view=article&id=6&Itemid=112
My user are being redirected to
http://localhost/joomla/index.php?option=com_chronoforms6&chronoform=user-registration&%2Findex_php%3Foption=com_content&view=article&id=6&Itemid=112
I tried the URL parameters without the initial /, but I got the same problem.
When I change the redirect URL to {url:/index.php?option=com_content&view=article&id=6&Itemid=112}, it reloads the form and does not redirect to the article.
I'm not sure what I'm doing wrong.
I want my users to be redirected to
/index.php?option=com_content&view=article&id=6&Itemid=112
My user are being redirected to
http://localhost/joomla/index.php?option=com_chronoforms6&chronoform=user-registration&%2Findex_php%3Foption=com_content&view=article&id=6&Itemid=112
I tried the URL parameters without the initial /, but I got the same problem.
When I change the redirect URL to {url:/index.php?option=com_content&view=article&id=6&Itemid=112}, it reloads the form and does not redirect to the article.
I'm not sure what I'm doing wrong.
Hi omidhz,
I suggest that you try putting the full url in the Redirect URL box e.g.
http://localhost/joomla/index.php?option=com_content&view=article&id=6&Itemid=112
Or I think that you could put just the first part there: http://localhost/joomla/index.php and add the parameters is the box below
Bob
I suggest that you try putting the full url in the Redirect URL box e.g.
http://localhost/joomla/index.php?option=com_content&view=article&id=6&Itemid=112
Or I think that you could put just the first part there: http://localhost/joomla/index.php and add the parameters is the box below
option=com_content
view=article
id=6
Itemid=112
Bob
Hi,
Just a quick note here, in v6 the parameters should have : instead of = as below:
Best regards,
Max
Just a quick note here, in v6 the parameters should have : instead of = as below:
option:com_content
view:article
id:6
Itemid:112
Best regards,
Max
Thank you for your reply.
Here are what I have tested and the results.
=======================
Redirect URL: http://localhost/joomla/index.php
URL Parameters:
[list]option:com_content
view:article
id:6
Itemid:112[/list]
Result: Form redirected to http://localhost/joomla/index.php
=====================
Redirect URL: {url:http://localhost/joomla/index.php}
URL Parameters:
[list]option:com_content
view:article
id:6
Itemid:112[/list]
Result: Same form reloaded after submission
=====================
Redirect URL: http://localhost/joomla/index.php?option=com_content&view=article&id=6&Itemid=112
URL Parameters: Empty
Result: Same form reloaded after submission
=====================
Redirect URL: http://localhost/joomla/index.php?option=com_content&view=article&id=6&Itemid=112
URL Parameters: Empty
Result: Redirect worked properly.
=====================
Redirect URL: index.php?option=com_content&view=article&id=6&Itemid=112
URL Parameters: Empty
Result: Redirect worked properly.
Here are what I have tested and the results.
=======================
Redirect URL: http://localhost/joomla/index.php
URL Parameters:
[list]option:com_content
view:article
id:6
Itemid:112[/list]
Result: Form redirected to http://localhost/joomla/index.php
=====================
Redirect URL: {url:http://localhost/joomla/index.php}
URL Parameters:
[list]option:com_content
view:article
id:6
Itemid:112[/list]
Result: Same form reloaded after submission
=====================
Redirect URL: http://localhost/joomla/index.php?option=com_content&view=article&id=6&Itemid=112
URL Parameters: Empty
Result: Same form reloaded after submission
=====================
Redirect URL: http://localhost/joomla/index.php?option=com_content&view=article&id=6&Itemid=112
URL Parameters: Empty
Result: Redirect worked properly.
=====================
Redirect URL: index.php?option=com_content&view=article&id=6&Itemid=112
URL Parameters: Empty
Result: Redirect worked properly.
Hi,
Actually I was mistaken, the redirect parameters should have "=", so the format posted by Bob is the correct one, the = sign is only used in the redirect parameters, the options fields in dropdown/checkboxes and in the locales.
Best regards,
Max
Actually I was mistaken, the redirect parameters should have "=", so the format posted by Bob is the correct one, the = sign is only used in the redirect parameters, the options fields in dropdown/checkboxes and in the locales.
Best regards,
Max
Hi Randy,
The event name you want to redirect to, you may ignore that and include the event and its name in the parameters box.
Best regards,
Max
The event name you want to redirect to, you may ignore that and include the event and its name in the parameters box.
Best regards,
Max
This topic is locked and no more replies can be posted.