⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Grocery CRUD



davy_yg

davy_yg
  • profile picture
  • Member

Posted 13 June 2016 - 05:32 AM

I try to utillize:

http://www.grocerycrud.com/image-crud/documentation

and I receive this error:

http://127.0.0.1/CompanyProfileCI/index....showimages


-------------------------------------

Fatal error: Call to undefined method Cpages::_example_output() in C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\CompanyProfileCI\application\controllers\cpages.php on line 116
A PHP Error was encountered
Severity: Error
Message: Call to undefined method Cpages::_example_output()
Filename: controllers/cpages.php
Line Number: 116
Backtrace:


controllers/cpages.php


 

PHP Code:
 
 
    public function slideshowimages() 
    
        { 
 
    
        $image_crud 
= new image_CRUD();
    
        
$image_crud->set_primary_key_field('id');
        
$image_crud->set_url_field('url');
        
$image_crud->set_title_field('title');
        
$image_crud->set_table('example_4')
        ->
set_ordering_field('priority')
        ->
set_image_path('assets/uploads');
            
        
$output $image_crud->render();
    
        
$this->_example_output($output);
    
        
$this->load->view('slideshow_images'); 
    
        } 


How to fix the error?