Welcome Guest, Not a member yet? Register   Sign In
Integrate Smarty Template Parsing into CodeIgniter
#21

[eluser]Unknown[/eluser]
I started to play around a bit to integrate the Smarty template engine into the Zend Framework. My ambition was to minimize the required code in the controller actions but stay close to the given Zend_View API. I also wanted to integrate the Smarty caching feature, any suggestions. <a href="http://www.collegesgrant.com/federal-college-grants/attaining-federal-government-grants-for-college/">visit</a>
#22

[eluser]RaZoR LeGaCy[/eluser]
I am still unsure if it is really better to use smarty. Has anyone made a performance test?
#23

[eluser]pakistanihaider[/eluser]
Thankyou for sharing nice info..

i worked in codeigniter and i am familiar with it. but its smarty i am working first time..

problem is that i cant use php in smarty templates, which is fine by me. but i need some method to make codeigniter functions work in templates..

like i want to see the controller name i would have used $this->router->fetch_class(); with CI views.

But in .tpl files this command dont work. how to make it work or anyother commands like this ??

Regards,
Syed Haider Hassan.




Theme © iAndrew 2016 - Forum software by © MyBB