Install CI on Brinkster |
[eluser]justmelat[/eluser]
Sorry for the delay in replying, work has been a killer. Ok I am back to this project You can view exactly what's happening by going here: http://www.mywebgenius.net/ci/index.php - click on any of the links so see what happens. config.php has the following settings now: $config['index_page'] = "index.php"; $config['uri_protocol'] = "PATH_INFO"; A portion of my controller is below, per the page above - the contractors and client functions are near the top of the controller named accordingly. <?php class Purestaff extends Controller{ function Purestaff() { parent::Controller(); $this->load->helper('url'); $this->load->helper('form'); $this->load->library('table'); } function index() { $data['title']="PureStaff"; $data['heading']="Welcome to Purestaff"; $this->load->view('purestaff_view.php', $data); } function contractors() { $data['title']="PureStaff-Contractors"; $data['heading']="View Contractors"; $data['query']=$this->db->get('contractors'); $this->load->view('contractors_view.php', $data); } function clients() { $data['title']="PureStaff-Clients"; $data['heading']="View Clients"; $data['query']=$this->db->get('clients'); $this->load->view('clients_view.php', $data); } function jobs() { $data['title']="PureStaff-Jobs"; $data['heading']="View Current Jobs"; $data['query']=$this->db->get('jobs'); $this->load->view('jobs_view.php', $data); } |
Messages In This Thread |
Install CI on Brinkster - by El Forum - 03-19-2008, 08:49 PM
Install CI on Brinkster - by El Forum - 03-20-2008, 07:49 AM
Install CI on Brinkster - by El Forum - 03-21-2008, 09:10 AM
Install CI on Brinkster - by El Forum - 03-21-2008, 09:27 AM
Install CI on Brinkster - by El Forum - 03-21-2008, 03:27 PM
Install CI on Brinkster - by El Forum - 03-21-2008, 04:51 PM
Install CI on Brinkster - by El Forum - 04-11-2008, 06:00 PM
Install CI on Brinkster - by El Forum - 04-14-2008, 10:30 AM
Install CI on Brinkster - by El Forum - 04-14-2008, 10:31 AM
|