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.
Hi,
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
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.
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Quick clarification question: What would/could go in the Event box?
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.