Hi!
I have different tables for different languages.. now, i would like users to be redirected straight after login to the advanced search page for the correct table(which is the only table they have access to anyway).
I have removed the table and language selectors, so language can only be choosen at login.
in short: no table selection page, no list page(it's iframed to search page already), and table changed according to language(or user group or anything distinct).
Is this possible?
oh, and i have phprunner 5.0.
Thanks!
Edit:
SOLVED!
in case someone else is wondering, just go to events page, choose
global events/login/after succesfull login,
click "add action" and choose "custom code" and then paste this and edit as you need:
if ($_SESSION["language"]=="Finnish")
{
header("Location: tuotteet_search.php");
exit();
}
if ($_SESSION["language"]=="English")
{
header("Location: products_search.php");
exit();
}
exit();
Hope this helps someone!