getMenu()->getActive(); $pageclass = ''; if (is_object($menu)) $pageclass = $menu->params->get('pageclass_sfx'); ?> params->get( 'SidebarWidthSize' ); /* Assign Sidebar Width to a Variable. */ $sidebarWidth = $templateParamSidebarWidthSize; /* Sets Main Component or Article area width based on the desired width of the sidebar area. */ if ($this->countModules('sidebar-a or banners-sidebar-top or banners-sidebars-bottom')) { $componentWidth = 12-$sidebarWidth; } else { $componentWidth = 12; } /* Grab the Base Grid Setting from the Template Parameters - lg, md, sm, or xs and set the baseGrid variable used in the div's to the option chosen */ $templateParamDisplayBaseGridChoice = $this->params->get( 'BaseGridChoice' ); $BaseGridChoice = $templateParamDisplayBaseGridChoice; switch ($BaseGridChoice) { case "0": $baseGrid = 'lg'; break; case "1": $baseGrid = 'md'; break; case "2": $baseGrid = 'sm'; break; case "3": $baseGrid = 'xs'; break; default: $baseGrid = 'md'; } /* Grab Sidebar Location That Is Set from Template parameters */ $templateParamSidebarLocation = $this->params->get( 'SidebarLocation' ); if ($templateParamSidebarLocation == 0) { $sidebarLocation = " "; $componentLocation = " "; } else { $sidebarLocation = "col-".$baseGrid."-pull-".$componentWidth; $componentLocation = "col-".$baseGrid."-push-".$sidebarWidth; } /* Grab Component Homepage Display setting from Template Parameters and set default to display. */ $templateParamDisplayComponentOnHomePage = $this->params->get( 'ComponentHomePage' ); $componentHomePageDisplay = 0; /* Determine if template parameter is set to hide or display component on home page. Then update variables if set to hide. */ if ($templateParamDisplayComponentOnHomePage == 1) { /* Determine if active page being viewed is the homepage. If so then set variable so component area is not displayed. */ $menu = JFactory::getApplication()->getMenu(); if ($menu->getActive() == $menu->getDefault()) { $componentHomePageDisplay = 1; } else { $componentHomePageDisplay = 0; } } ?> _styleSheets['/media/jui/css/bootstrap.min.css']); unset($doc->_styleSheets['/media/jui/css/bootstrap-responsive.min.css']); unset($doc->_styleSheets['/administrator/components/com_pmform/assets/bootstrap/css/bootstrap.css']); ?>