Welcome Guest, Not a member yet? Register   Sign In
Calling actions in another controller?
#6

[eluser]fesweb[/eluser]
I can't spend too much time on it right now, but I might well have been wrong, since it's your default controller.

Sorry.

You might need to do something simple in the config/routes, like this (this means that you could have an 'about' controller, and a 'contact' controller, etc.; and then you could have controllers for your dynamic content needs...):
Code:
$route['([a-zA-Z]+)/([a-zA-Z]+)/([a-zA-Z]+)'] = "location_handler/$1/$2/$3";
$route['([a-zA-Z]+)/([a-zA-Z]+)'] = "city_handler/$1/$2";
$route['([a-zA-Z]+)'] = "country_handler/$1";
Otherwise, I would search the forums for solutions to the domain.com/username1, domain.com/username2 problem -- which comes up from time to time.


Messages In This Thread
Calling actions in another controller? - by El Forum - 03-16-2010, 03:13 PM
Calling actions in another controller? - by El Forum - 03-16-2010, 09:44 PM
Calling actions in another controller? - by El Forum - 03-17-2010, 01:54 AM
Calling actions in another controller? - by El Forum - 03-17-2010, 07:24 AM
Calling actions in another controller? - by El Forum - 03-17-2010, 11:16 AM
Calling actions in another controller? - by El Forum - 03-17-2010, 11:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB