Welcome Guest, Not a member yet? Register   Sign In
Route file question
#1

[eluser]R_Nelson[/eluser]
in my Site Controller i have a function called view it takes the 3rd segment witch is the username what i want to do is instead of it looking for site/view/username i want to just have username. I am wondering is there a way to put in a wildcard or the varaible into the route file so i would get something like http://www.mysite.com/username ?
#2

[eluser]toopay[/eluser]
Thats would breaking the CI route concept at all! Configure a hook to do that, instead play with your route. This thread should help you out...
#3

[eluser]R_Nelson[/eluser]
i kinda see what it is doing guess im goma have to read up on hooks and learn how to use them! thanks for the help!




Theme © iAndrew 2016 - Forum software by © MyBB