Question about the switch with redirect
Hi,
I have a switch action in the setup / submit area:
Name: switch68
Data provider: {kat: id}
Return the result as var
Values setup:
{10: 10-EUR}
{11: 20-EUR}
{12: 30-EUR}
{13: 50-EUR}
in the login action/success is a redirect action with:
Redirect URL: {redirect: index.php/switch68}
The actions do not give me the desired URL in the browser:
http://test.test.de/index.php/switch68
The correct result, however, is e.g.
http://test.test.de/index.php/10-eur
or
http://test.test.de/index.php/20-eur
etc.
Where is my mistake?
Best regards
Fred
Hi,
I have a switch action in the setup / submit area:
Name: switch68
Data provider: {kat: id}
Return the result as var
Values setup:
{10: 10-EUR}
{11: 20-EUR}
{12: 30-EUR}
{13: 50-EUR}
in the login action/success is a redirect action with:
Redirect URL: {redirect: index.php/switch68}
The actions do not give me the desired URL in the browser:
http://test.test.de/index.php/switch68
The correct result, however, is e.g.
http://test.test.de/index.php/10-eur
or
http://test.test.de/index.php/20-eur
etc.
Where is my mistake?
Best regards
Fred
Hi Fred,
The syntax here is wrong, first the data provider is wrong in the switcher, what is {kat:id} ? what are you trying to use here ?
The values setup is also wrong, it should be:
Then the redirect url is wrong too, it should be:
And there should be no spaces any where in the shortcode.
Best regards
The syntax here is wrong, first the data provider is wrong in the switcher, what is {kat:id} ? what are you trying to use here ?
The values setup is also wrong, it should be:
10:10-EUR
//and so on
Then the redirect url is wrong too, it should be:
{redirect:index.php/(var:switch68)}
And there should be no spaces any where in the shortcode.
Best regards
This topic is locked and no more replies can be posted.