[eluser]davidk43[/eluser]
Odd this, I've only just started so the problem maybe obvious. I've just started an Account controller:
Code:
class Account extends Controller {
function Account()
{
parent::Controller();
}
function index()
{
$this->load->view('account');
}
}
which has a matching view:
Code:
<?$this->load->view('template/header');?>
<h1>Your account</h1>
<?$this->load->view('template/footer');?>
If I type the URL:
Code:
http://domain/account/index
this renders correctly with the header/footer views around the index function. However this:
Code:
http://domain/account
will merely render the index function ignoring the partial views, so simply returning:
Code:
<h1>Your account</h1>
help?