philsturgeon / codeigniter-template

Template library for CodeIgniter which supports modules, themes, partial views, etc.
411 stars 178 forks source link

undefine get_var #7

Closed umefarooq closed 13 years ago

umefarooq commented 13 years ago

i used template library with HMVC but in template library at line 625 you have used get_var which is missing in loader

 if ($this->_ci->load->get_var('template_views'))
        {
            return $this->_ci->load->get_var('template_views');
        } 
philsturgeon commented 13 years ago

Not an issue. Did you look at the commit message, which exactly explains what is happening here?

MikeBirkett commented 13 years ago

Good afternoon,

I have stumbled upon this "issue" aswell and it has stopped me in my tracks. Your commit, bcfe8fc68545bc4a8ff7, says you have "Updated to work with CodeIgniter 2.0.2-ish". I have your most recent release and I am still unable to get things working. Are you saying your templating solution will not work until v2.0.3 of CI is available?

Thanks Mike

everbs commented 13 years ago

I am also having this same issue as above. I had to comment out the lines to get this to run properly. Any insight would be appreciated, thanks Phil!

philsturgeon commented 13 years ago

The latest version of my library does not work in 2.0.2 because certain properties were made unavailable. This new version will work when 2.0.3 is out. If you commented out the line and it worked fine then you have your solution.

everbs commented 13 years ago

Appreciate the response. Thanks!

ghost commented 13 years ago

Does not work with 2.0.3 same issue as above call to protected vars and methods