It looks like you're new here. If you want to get involved, click one of these buttons!
class Usedb extends CI_Controller {
function __construct() {
parent::__construct();
}
function index() {
$this->load->library('session');
$vars = array('page_title' => 'Use Database','layout'=>'main');
$page_init = array('location' => 'usedb');
$this->fuel->pages->render('', $vars, $page_init);
}
}
Comments
$page_init = array('location'=>'usedb','render_mode'=>'view'); $this->fuel->pages->render('usedb', $vars, $page_init);
and a test "usedb.php" view, I have had some success - my test view appears with the "main" view's header & footer blocks.