Welcome Guest, Not a member yet? Register   Sign In
having trouble with controllers
#5

[eluser]bradyrose[/eluser]
below is what it in my routes

Code:
$route['default_controller'] = 'pages/view';
$route['page/:any'] = 'pages/view/$1

$route['pages/pm'] = 'pages/pm';
$route['pages/pm/(:any)'] = 'pages/pm/$1';

it is not functioning as i would hope.

In my views folder i have a folder named pages, i would like it so that whenever i have a page such as www.cashforbtc.com/index.php/anypagename , it will go to that page in the pages folder if it exists.

In addition to this, I would like it if you go to index.php/pmsystem , that it would display (with the header and footer as other pages do) our pm system which is located at application/third_party/app_pmsystem


Messages In This Thread
having trouble with controllers - by El Forum - 07-20-2012, 08:33 PM
having trouble with controllers - by El Forum - 07-20-2012, 11:59 PM
having trouble with controllers - by El Forum - 07-21-2012, 02:19 AM
having trouble with controllers - by El Forum - 07-21-2012, 03:50 AM
having trouble with controllers - by El Forum - 07-21-2012, 10:50 AM
having trouble with controllers - by El Forum - 07-21-2012, 11:05 AM
having trouble with controllers - by El Forum - 07-21-2012, 04:53 PM
having trouble with controllers - by El Forum - 07-21-2012, 06:45 PM
having trouble with controllers - by El Forum - 07-22-2012, 07:01 PM
having trouble with controllers - by El Forum - 07-22-2012, 11:37 PM
having trouble with controllers - by El Forum - 07-23-2012, 03:23 PM
having trouble with controllers - by El Forum - 07-23-2012, 03:42 PM
having trouble with controllers - by El Forum - 07-23-2012, 05:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB