<div id="Container" class="">
  <?php

 // Lets show the banner for the sub section pages
 echo $this->element('banners/default_section_banners', ['banners' => $banners]);

  // Look for configure layouts and render them
  // Else fall back to the default template for the layout
  echo $this->element(Cake\Core\Configure::read('Details.' .$menuDetails->slug, 'body/details/default_details'), [
    'viewDetails' => $viewDetails,
    'menuDetails' => $menuDetails,
  ]);