Welcome Guest, Not a member yet? Register   Sign In
How to display a users personal page from URL - mysite/username
#5

[eluser]CroNiX[/eluser]
If you don't want the index() method used for invalid users, why are you telling it to do exactly that? If the user info exists, you tell it to load a view, if it doesn't you tell it to go to $this->index().

If that is a copy/paste of your actual code, your other problem could be due to a missing } in your _remap() method. If you follow the CI Style Guide, that sort of error is very easy to spot as opening braces should align with closing braces, except for class declarations.


Messages In This Thread
How to display a users personal page from URL - mysite/username - by El Forum - 02-28-2012, 11:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB