Welcome Guest, Not a member yet? Register   Sign In
Template library of Colin Williams not working [Solved]
#1

[eluser]ajitabhpandey[/eluser]
Hi,

I have recently started using CodeIgnitor for few of my projects. I am using the template library version 1.4.1 from Colin Williams (http://www.williamsconcepts.com/ci/codei.../template/). After following the instruction to place the files in application/config, application/library and application/view, I made the following change in index function of "welcome" controller which comes with the default code ignitor code.

Code:
function index()
    {
        //$this->load->view('welcome_message');
        $this->template->render();
    }

When I visit the URL http://localhost, this is what I get:

Quote:A PHP Error was encountered

Severity: Notice

Message: Undefined property: Welcome::$template

Filename: controllers/welcome.php

Line Number: 13

Any hints as to what am I doing wrong.


Messages In This Thread
Template library of Colin Williams not working [Solved] - by El Forum - 05-03-2010, 03:33 AM
Template library of Colin Williams not working [Solved] - by El Forum - 05-03-2010, 11:42 AM
Template library of Colin Williams not working [Solved] - by El Forum - 05-04-2010, 03:05 AM
Template library of Colin Williams not working [Solved] - by El Forum - 05-04-2010, 03:33 AM
Template library of Colin Williams not working [Solved] - by El Forum - 05-05-2010, 01:31 AM
Template library of Colin Williams not working [Solved] - by El Forum - 05-05-2010, 02:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB