Front end views via CMS, best practice for record sets and data display - newbie
I have been navigating Fuel 1.0 documentation and tutorials to understand the recommended way to populate data saved in CMS and i am confused. Please advise because there are multiple ways to setup model > view. for example in my case Projects and/or Categories filtered records.
Comments
$projects = fuel_model('projects'); //the above is the equivalent to the following: //$CI =& get_instance(); //$CI->load->model('projects_model'); //$projects = $CI->projects_model->find_all(); foreach($projects as $project) : echo $project->name; endforeach;
http://docs.getfuelcms.com/libraries/my_model
http://docs.getfuelcms.com/general/models