View file not displaying |
[eluser][email protected][/eluser]
Hi i am using hmvc to practice but it does not displaying This is my controller <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Dashboard extends MX_Controller { function __construct() { parent::__construct(); Modules::run('site_security/make_sure_is_admin'); } function home(){ $data['view_file'] = "home"; $this->load->module('template'); $this->template->admin($data); } } This is a view file folder <h2>Dashboard</h2> <p>Please choose from the following options</p> <ul> <?php echo anchor('webpages/manage', '<li 20px;">Content Management System</li>'); echo anchor('', '<li 20px;">Update Top Navigation</li>'); echo anchor('', '<li 20px;">Sign Out</li>'); ?> </ul> |
Welcome Guest, Not a member yet? Register Sign In |