Welcome Guest, Not a member yet? Register   Sign In
Splitting Controllers

I'm developing a product review website with CodeIgniter, but I'm having some trouble splitting the controllers.

This is what I've already done:

Main - Only the home page
Categories - Categories, subcategories...
Products - Only the product page
Users - Login, Register, Account...
Reviews - Only the page to submit the review

Is this "best" way?

Where should I place pages like contact, about, help...

[eluser]Eduard Stankovic[/eluser]
create new controller called for example "page" .. content could be loaded from DB, or hard-coded in your views ... and in your route.php add something like that

$route['about-us'] = 'page/about-us';
$route['contact']  = 'page/contact';

Theme © iAndrew 2016 - Forum software by © MyBB