[eluser]Dainius123[/eluser]
Hello everyone, i'm new to codeigniter[one month], and now i'm stuck again
,here is the problem (thanks for help!):
In my main page i have three categories:
blabla-1
blabla-2
blabla-3
site administrator is able to change names of these three categories[i changed them with URI Routing]; If site admin wouldn't change names i could just write:
Code:
$route['blabla-1']="first_group/sort1";
$route['blabla-2']="second_goup/sort2";
$route['blabla-3']="fifth_group/sort2";
and very easilly access my controllers methods, but my admin can change names of categories, soo static URI Routing isn't helping me, because if admin will change name of blabla-1 to dladla-1 my link to "first_group/sort1" will crash.
[in my main page i can change that link[blabla-1 to dladla-1], but how to change it in routes.php? ]
I hope someone will understand my broken english and my problem
Thanks!
Dainius