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

[eluser]CroNiX[/eluser]
Yes you need to create a route for all controllers as I mentioned in my edit (if you choose to use routes).

For the 'login/signup' route problem...are you using links to access these URLs? If so, it should just point to 'yoursite.com/signup' and then your catchall route will pick it up and send it to the _remap() method, and since that method (signup) will exist it will send it there.

Edit: one note about this setup, if a user is named 'signup' you will run into problems...since you have a method with that name. Unlikely to happen, but still something to consider.


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



Theme © iAndrew 2016 - Forum software by © MyBB