Welcome Guest, Not a member yet? Register   Sign In
Template Library Version 1.4.1 ...
#1

[eluser]Unknown[/eluser]
Hi,

I have got an error, I m using CI 1.7.1, PHP 5.x on apache etc....

I did all as your example...

Bug :


A PHP Error was encountered

Severity: Notice

Message: Undefined property: Page::$template

Filename: controllers/page.php

Line Number: 12
#2

[eluser]wiredesignz[/eluser]
You must load the template library before using it. Refer to the CI user guide section regarding using libraries. http:///user_guide/general/libraries.html


@Colin, I may be blind but can't find this in your documentation either. There is also a small typo in the "Getting Started - Is using Template better than using Views?" paragraph "$this->load>view()"
#3

[eluser]Unknown[/eluser]
You are right =) , it is a simple basic thing to do first

Thanks
F.
#4

[eluser]Colin Williams[/eluser]
Yeah, I think I left off the "to use Template, you must first load it by..." My bad. And thanks for the other catch, wiredesignz




Theme © iAndrew 2016 - Forum software by © MyBB