Template library 1.4 problem |
[eluser]dannieWalden[/eluser]
Hey gurus. I just started using the template library. i’ve followed the userguide several times to get i right, but i get following error: Code: A PHP Error was encountered Cant find out why? Can anyone help me, please controller: Code: <? configfile: Code: $template['active_group'] = 'default'; templatefile: Code: <html>
[eluser]triplethree[/eluser]
Hi Dannie. It doesn't (from looking at your template file) look like you need to be using a parser. In you config file set parse_template to false rather then true. Code: $template['default']['parse_template'] = FALSE; If you can, I'd always avoid php short tags. Some hosts don't allow them so it could cause you problems down the line. Instead use Code: <?php echo $header; ?> Hope this helps. Tom
[eluser]syntax3rror[/eluser]
Thanks for this post.. I made my simple template works. In this page Template Getting Stated didnt't mentioned to load. Code: $this->load->library('Template'); |
Welcome Guest, Not a member yet? Register Sign In |