Welcome Guest, Not a member yet? Register   Sign In
Differentiating between pages and modules

Hi Guys,

The current cms is am writing is using Matchbox for the modules. At the moment, I amble to to dynamically create pages and have them loaded. But when I try to load a particular module, I get a 404 error.

I have 3 tables in places. I have a menus table, a pages table and a modules table.

In my routes file, in order to load pages, I have:

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

I do have my page controller setup to load the pages according the page slug. And on a previous post, I was given a _reap function which made things a bit easier. now I am trying top load modules and every time I try to load a module, I get a 404 error.... Can anyone help? Thanks

Theme © iAndrew 2016 - Forum software by © MyBB