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

[eluser]wdcci[/eluser]
I have just tried using this template library:

http://williamsconcepts.com/ci/codeignit...index.html

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?
#2

[eluser]wdcci[/eluser]
i got it. i'm an idiot
#3

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

Thanks!
#4

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

[Edit: Oh, and welcome to CodeIgniter.]
#5

[eluser]kdmp[/eluser]
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!
Quote:Edit:

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