application/core/MY_Loader.php
/* Load template for frontend(website) with different header
     * Added in ver 2.0
     */
Load template for frontend(website) with different header
Added in ver 2.0
Load template for frontend ( website ) with different header Added in ver 2 . 0
function front_render_minimal($template_name, $vars = array(), $page_script = ''){
        $this->view('frontend_includes/front_header_minimal', $vars);
        $this->view($template_name, $vars);
        $this->view('frontend_includes/front_footer_minimal', $vars);
        if (!empty($page_script)):
            $this->view($page_script, $vars);
        endif;
    }
function front_render_minimal ( $ template_name , $ vars = array ( ) , $ page_script = '' ) { $ this -> view ( 'frontend_includes/front_header_minimal' , $ vars ) ; $ this -> view ( $ template_name , $ vars ) ; $ this -> view ( 'frontend_includes/front_footer_minimal' , $ vars ) ; if ( ! empty ( $ page_script ) ) : $ this -> view ( $ page_script , $ vars ) ; endif ; }
Load template for frontend(website) with different header
 Added in ver 2.0
Load template for frontend ( website ) with different header Added in ver 2 . 0
//$this->view('front_includes/common_script', $vars);