⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How to use with another template



jclaude
  • profile picture
  • Member

Posted 05 November 2015 - 21:55 PM

I am building an application for school management and I need to use an html dashboard template. So I want to know how can I do to integrate GC with that template

Thanks


0ome0
  • profile picture
  • Member

Posted 07 November 2015 - 13:22 PM

Your can reuse form example.php in view folder.

 

1. in controller you can set xxx.php to you view

 

    public function _example_output($output = null)
    {
        // $this->load->view('example.php',$output);
        $this->load->view('xxx.php',$output);
    }

 

2 . in view xxx.php

grocery will display here

 

<?php echo $output; ?>