Welcome Guest, Not a member yet? Register   Sign In
HOWTO: handle header and footer as modules (CI/blaze)
#3

[eluser]TheVoid[/eluser]
In the main template file (here looking at double_column.php) i see this for including the header and footer:

Code:
<?php $this->load->view(false, 'themes/bb/layout/header'); ?>

Code:
<?php $this->load->view(false, 'themes/bb/layout/footer'); ?>



The only solution for modifying the header and footer i see, is adding php-code in the themes-header and -footer file.
But i dont like that way of fixing things.
Would be better if it works like the module 'page' for example. Where your functions have to be placed in the model file, and everything gets runned with its controller file + the output is set in the template file.

How would you do it then in my place?

Thanks for your time!


Messages In This Thread
HOWTO: handle header and footer as modules (CI/blaze) - by El Forum - 03-12-2009, 03:31 AM
HOWTO: handle header and footer as modules (CI/blaze) - by El Forum - 03-12-2009, 06:40 AM
HOWTO: handle header and footer as modules (CI/blaze) - by El Forum - 03-12-2009, 11:39 AM
HOWTO: handle header and footer as modules (CI/blaze) - by El Forum - 03-12-2009, 12:05 PM
HOWTO: handle header and footer as modules (CI/blaze) - by El Forum - 03-14-2009, 04:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB