EllisLab text mark
Advanced Search
     
I am a beginner ci framework, what is wrong with this?
Posted: 02 November 2012 02:24 AM   [ Ignore ]
Joined: 2012-11-02
6 posts

<?php
class Blog extends CI_Controller {
function Blog()
{
parent::__Controller();
$this->load->scaffolding(‘entries’);
}
function index()
{
$data[‘title’] = “My Blog Title”;
$data[‘heading’] = “My Blog Heading”;
$data[‘todo’] = array(‘clean house’,‘eat lunch’,‘call mom’);
$this->load->view(‘blog_view’, $data);
}
}
?>

 
Posted: 03 November 2012 02:07 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2011-08-13
386 posts

You aren’t going to get any responses because you haven’t explained what the issue is? Are you getting any errors?

 
Posted: 03 November 2012 10:43 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2012-11-02
6 posts

thank you guys for your reply, the issue was resolved.

now, how do i load scaffolding in CI 2.1.3?

 
Posted: 03 November 2012 10:49 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2009-02-19
3798 posts

Scaffolding was removed in v2

 Signature 
 
Posted: 03 November 2012 10:58 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2012-11-02
6 posts

so, can i load editor on CI 2.1.3?