CodeIgniter Forums
Phils Template Library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Phils Template Library (/showthread.php?tid=45958)



Phils Template Library - El Forum - 10-12-2011

[eluser]xtremer360[/eluser]
I have this inside my controller and trying to find out why its giving me a t_constant_encapsed string.

Code:
$activeTemplate = $this->kow->getTemplate();
            $this->template
            ->set_theme('theme', $activeTemplate)
            ->set_partial('header', $activeTemplate'/header')
            ->set_partial('footer', $activeTemplate'/footer')
            ->build('kow');