[eluser]jbowman[/eluser]
[quote author="wiredesignz" date="1204545833"]As an after-thought jbowman, why not do this:
Code:
// 'admin/main' view
<?= modules::run('layout', '', 'header') ?>
this is the main admin interface
<?= modules::run('layout', '', 'footer') ?>
[/quote]
Mainly just preference. eventually that layout module will handle data such as sessions, or which header to show, etc etc. Those functions really will be controllers, not just shortcuts to views, so I think they should be called from the main controllers. The site I'm working on will have some ajax, so some controllers will make the determination whether it needs use the layout module at all.