[eluser]Unknown[/eluser]
Hey Guy,
I'm having trouble getting scaffolding page to show up. when i put in my secret word, all i see is the blog index page, that i made in the first video tutorial. Also, I'm not getting any error, I just can't get the page to show up. Please let me know what I am doing wrong.
Here my code:
Code:
$route['scaffolding_trigger'] = 'scaffolding';
Code:
class Blog extends Controller {
function Blog()
{
parent::Controller();
$this->load->scaffolding('entries');
}
function index()
{
$data['title'] = "My Blog Title";
$data['heading'] = "My Blog Heading";
$data['query'] = $this->db->get('entries');;
$this->load->view('blog_view', $data);
}
}