Welcome Guest, Not a member yet? Register   Sign In
uri and route
#1

[eluser]italoc[/eluser]
i have a little problem with URI and ROUTE

i have defined this route

Code:
$route['default_controller'] = "sirsa";
$route['scaffolding_trigger'] = "";
$route['(\w{2})/(.*)'] = '$2';
$route['(\w{2})'] = $route['default_controller'];
$route['sirsa/prodotti/(:num)'] = "sirsa/prodotti/$1";

and i would like that when i write an url in a browser like this

/it/sirsa/prodotti/1520

set the language as IT and call controller "sirsa" and function "prodotti" and in the end pass a variable with a predefined name and value "1520"

it's possibile??

thank you..
#2

[eluser]italoc[/eluser]
anyone can help me?




Theme © iAndrew 2016 - Forum software by © MyBB