Using multiple templates in the Template library by Jerome Jaglale/Maestric.com |
[eluser]tim peterson[/eluser]
I'm using the Template library developed by Jerome Jaglale for Codeigniter: http://maestric.com/doc/php/codeigniter_template. I can't quite figure out how to use his example, advanced use #3, to load multiple templates. In his Template library, I feel like he doesn't actually demonstrate the loading of multiple templates in the load_main() function below: Code: function load_main($view = '', $view_data = array(), $return = FALSE) here's what Jerome has for the controller: Code: $this->template->set('nav', 'About'); Code: <html> thank you, tim |
Welcome Guest, Not a member yet? Register Sign In |