library/Theme/Sidebars.php
public function moduleSidebarIncompability($moduleSpecification, $modulePostType) : array
    {

        switch ($modulePostType) {
            case "mod-section-featured":
            case "mod-section-full":
            case "mod-section-split":
                $moduleSpecification['sidebar_incompability'] = array("right-sidebar", "left-sidebar", "left-sidebar-bottom", "footer-area", "content-area-bottom", "content-area", "content-area-top", "footer-area");
                break;
            case "mod-slider":
            case "mod-video":
                $moduleSpecification['sidebar_incompability'] = array("right-sidebar", "left-sidebar", "left-sidebar-bottom", "footer-area");
                break;
            case "mod-table":
            case "mod-gallery":
            case "mod-guide":
            case "mod-alarms":
            case "mod-interactive-map":
                $moduleSpecification['sidebar_incompability'] = array("right-sidebar", "left-sidebar", "left-sidebar-bottom", "footer-area", "slider-area", "bottom-sidebar", "top-sidebar");
                break;
            case "mod-posts":
            case "mod-location":
            case "mod-social":
            case "mod-dictionary":
            case "mod-contacts":
            case "mod-fileslist":
            case "mod-g-calendar":
            case "mod-index":
            case "mod-inlaylist":
                $moduleSpecification['sidebar_incompability'] = array("footer-area", "slider-area", "bottom-sidebar", "top-sidebar");
                break;
            case "mod-rss":
            case "mod-script":
            case "mod-notice":
            case "mod-iframe":
            case "mod-event":
            case "mod-form":
            case "mod-location":
            case "mod-text":
                $moduleSpecification['sidebar_incompability'] = array("slider-area", "bottom-sidebar", "top-sidebar");
                break;
        }

        return $moduleSpecification;
    }
public function moduleSidebarIncompability($moduleSpecification, $modulePostType) : array
    {

        switch ($modulePostType) {
            case "mod-section-featured":
            case "mod-section-full":
            case "mod-section-split":
                $moduleSpecification['sidebar_incompability'] = array("right-sidebar", "left-sidebar", "left-sidebar-bottom", "footer-area", "content-area-bottom", "content-area", "content-area-top", "footer-area");
                break;
            case "mod-slider":
            case "mod-video":
                $moduleSpecification['sidebar_incompability'] = array("right-sidebar", "left-sidebar", "left-sidebar-bottom", "footer-area");
                break;
            case "mod-table":
            case "mod-gallery":
            case "mod-guide":
            case "mod-alarms":
            case "mod-interactive-map":
                $moduleSpecification['sidebar_incompability'] = array("right-sidebar", "left-sidebar", "left-sidebar-bottom", "footer-area", "slider-area", "bottom-sidebar", "top-sidebar");
                break;
            case "mod-posts":
            case "mod-location":
            case "mod-social":
            case "mod-dictionary":
            case "mod-contacts":
            case "mod-fileslist":
            case "mod-g-calendar":
            case "mod-index":
            case "mod-inlaylist":
                $moduleSpecification['sidebar_incompability'] = array("footer-area", "slider-area", "bottom-sidebar", "top-sidebar");
                break;
            case "mod-rss":
            case "mod-script":
            case "mod-notice":
            case "mod-iframe":
            case "mod-event":
            case "mod-form":
            case "mod-location":
            case "mod-text":
                $moduleSpecification['sidebar_incompability'] = array("slider-area", "bottom-sidebar", "top-sidebar");
                break;
        }

        return $moduleSpecification;
    }
public function moduleSidebarIncompability ( $ moduleSpecification , $ modulePostType ) : array { switch ( $ modulePostType ) { case "mod-section-featured" : case "mod-section-full" : case "mod-section-split" : $ moduleSpecification [ 'sidebar_incompability' ] = array ( "right-sidebar" , "left-sidebar" , "left-sidebar-bottom" , "footer-area" , "content-area-bottom" , "content-area" , "content-area-top" , "footer-area" ) ; break ; case "mod-slider" : case "mod-video" : $ moduleSpecification [ 'sidebar_incompability' ] = array ( "right-sidebar" , "left-sidebar" , "left-sidebar-bottom" , "footer-area" ) ; break ; case "mod-table" : case "mod-gallery" : case "mod-guide" : case "mod-alarms" : case "mod-interactive-map" : $ moduleSpecification [ 'sidebar_incompability' ] = array ( "right-sidebar" , "left-sidebar" , "left-sidebar-bottom" , "footer-area" , "slider-area" , "bottom-sidebar" , "top-sidebar" ) ; break ; case "mod-posts" : case "mod-location" : case "mod-social" : case "mod-dictionary" : case "mod-contacts" : case "mod-fileslist" : case "mod-g-calendar" : case "mod-index" : case "mod-inlaylist" : $ moduleSpecification [ 'sidebar_incompability' ] = array ( "footer-area" , "slider-area" , "bottom-sidebar" , "top-sidebar" ) ; break ; case "mod-rss" : case "mod-script" : case "mod-notice" : case "mod-iframe" : case "mod-event" : case "mod-form" : case "mod-location" : case "mod-text" : $ moduleSpecification [ 'sidebar_incompability' ] = array ( "slider-area" , "bottom-sidebar" , "top-sidebar" ) ; break ; } return $ moduleSpecification ; }
Appends compability support
@param  array $moduleSpecification Original module settings
@return array
Appends compability support