/**
  * Apply custom layout handles to the splash page
  *
  * @param Fishpig_AttribtueSplash_Model_Page $splashPage
  * @return Fishpig_AttribtueSplash_PageController
  */
 protected function _applyCustomViewLayout(Fishpig_AttributeSplash_Model_Group $splashGroup)
 {
     $update = $this->getLayout()->getUpdate();
     $update->addHandle('default');
     $this->addActionLayoutHandles();
     $update->addHandle('attributesplash_group_view_' . $splashGroup->getId());
     $update->addHandle('attributesplash_group_view_' . $splashGroup->getAttributeCode());
     $this->loadLayoutUpdates();
     $update->addUpdate($splashGroup->getLayoutUpdateXml());
     $this->generateLayoutXml()->generateLayoutBlocks();
     if ($splashGroup->getPageLayout()) {
         $this->getLayout()->helper('page/layout')->applyTemplate($splashGroup->getPageLayout());
     } else {
         if ($pageLayout = Mage::getStoreConfig('attributeSplash/group/template')) {
             $this->getLayout()->helper('page/layout')->applyTemplate($pageLayout);
         }
     }
     $this->_isLayoutLoaded = true;
     return $this;
 }