Welcome Guest, Not a member yet? Register   Sign In
ERP application - what would be the best approach?
#2

[eluser]sandwormusmc[/eluser]
That can all be done with CSS ... just create a header/footer file, make sure to include it in your main controller (i.e. code below), then attach the CSS file at the top of your header file using simple HTML.

Code:
$this->params['header']=$this->load->view($this->params['AppName'].'_header','',TRUE);
        $this->params['footer']=$this->load->view($this->params['AppName'].'_footer','',TRUE);

The extra 'AppName' is to make it easy to create different headers for different apps. $this->params['AppName'] is currently UAMS, so it currently loads 'UAMS_header.php', which in turn loads the CSS.

Then in your views, you can load the header and footer, respectively, with:
Code:
<?=$header?>
and
Code:
<?=$footer?>

Is that what you were asking? Tongue


Messages In This Thread
ERP application - what would be the best approach? - by El Forum - 01-08-2008, 01:30 PM
ERP application - what would be the best approach? - by El Forum - 01-08-2008, 02:52 PM
ERP application - what would be the best approach? - by El Forum - 01-11-2008, 03:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB