Closed zaherg closed 12 years ago
its look like i have to make the Test Class like this
<?php
class Test extends MX_Controller {
public function __construct()
{
parent::__construct();
$this->template->title($this->config->item('site_name','app'));
}
public function index()
{
$this->template->build('test/index');
}
}
but it shows nothing ..
the result of the var_dump($t)
is empty string ..
i have this testing code which am working with .. i have a module called
ms
and and another one calledtest
thetest
controller code is :and the code inside
ms
is :the problem is that the build function inside
test
is trying to find theindex
view file inside thems
views folder not thetest
views folder .. i checked the$this->_module
and it gave me thems
module name ..