Welcome Guest, Not a member yet? Register   Sign In
Template system problem

I have just tried using this template library:


and I am getting this error:

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Page::$template

Filename: controllers/page.php

Line Number: 12

I have gone through the tutorial, but it's not working for me. Does anyone have ideas?

i got it. i'm an idiot

This may be a couple months old, but I have run into this exact issue. What am I forgetting/overlooking?


[eluser]Pascal Kriete[/eluser]
Did you load the library?

[Edit: Oh, and welcome to CodeIgniter.]

LOL - Yep...definitely an IQ lapse!

Now why wouldn't they include that in the template instructions - even the example doesn't show the loading the library!!

Thanks for the help!

Oh and thank you for the welcome! I like what I see so far Smile

And in case anybody else has any IQ lapse's like myself....

To see the documentation on using libraries in CodeIgniter:

Libraries - User Guide - CodeIgniter

Theme © iAndrew 2016 - Forum software by © MyBB