Welcome Guest, Not a member yet? Register   Sign In
Controllers decision: Dynamic or static content?
#2

[eluser]tomcode[/eluser]
Hi Sand*mann,

Welcome to CodeIgniter.

Have a look at routing, this should do it for You.

I have an example which works when You use _remap() in Your controllers, for the rest see Routing in the User Guide.

Code:
$route['default_controller'] = "site";
$route['scaffolding_trigger'] = "";

$route['blog/:any'] = "blog/$1";
$route['(:any)'] = "site";


Messages In This Thread
Controllers decision: Dynamic or static content? - by El Forum - 01-24-2010, 04:53 PM
Controllers decision: Dynamic or static content? - by El Forum - 01-24-2010, 05:47 PM
Controllers decision: Dynamic or static content? - by El Forum - 01-24-2010, 06:26 PM
Controllers decision: Dynamic or static content? - by El Forum - 01-25-2010, 04:02 AM
Controllers decision: Dynamic or static content? - by El Forum - 01-25-2010, 06:42 AM
Controllers decision: Dynamic or static content? - by El Forum - 02-02-2010, 03:21 PM
Controllers decision: Dynamic or static content? - by El Forum - 02-09-2010, 02:31 PM
Controllers decision: Dynamic or static content? - by El Forum - 02-09-2010, 03:57 PM
Controllers decision: Dynamic or static content? - by El Forum - 02-11-2010, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB