Kohana 3.2.x: Master Template Controller [step 1]
Let's create a content module that will handle both static and dynamic content: First enable the module: modules/application/bootstrap.php Kohana::modules(array( . . 'content' => MODPATH . 'content', // Content module . . )); Second, create the master template controller: modules/content/classes/controller/base/template.php template_name = Kohana::$config->load('content.template.name'); $this->template = 'template/'.$this->template_name.'/index'; parent::before(); if ($this->auto_render) {… Continue reading
Deprecated: printf(): Passing null to parameter #1 ($format) of type string is deprecated in /var/www/vhosts/blog.portnumber53.com/html/wp-content/themes/mantra/includes/theme-comments.php on line 86