ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Question about the switch with redirect

Fredolino 17 Nov, 2017
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
Max_admin 26 Nov, 2017
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:
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
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com