Welcome Guest, Not a member yet? Register   Sign In
Help With Product View issue with Template Library
#3

[eluser]JayArias[/eluser]
so
Code:
class Welcome extends Controller {

    function Welcome()
    {
        parent::Controller();    
    }
    
    function index()
    {
        $this->template->set_template('default');
        $this->template->write('title', "Default");
        $data['catalog']= $this->catalog->getLatest();
        $this->template->write('content', $this->load->view('latest_cat', $data));
        $this->template->render();
    }
}


Messages In This Thread
Help With Product View issue with Template Library - by El Forum - 07-08-2009, 04:42 PM
Help With Product View issue with Template Library - by El Forum - 07-08-2009, 06:01 PM
Help With Product View issue with Template Library - by El Forum - 07-08-2009, 08:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB