I have 2 modules, and I need to use different layout for each one, but all modules always use layout of second loaded module.
application.config.php :
return array(
// This should be an array of module namespaces used in the application.
'modules' => array(
'news',//in this module use Application layout
'Application',
),