global $session; if ($session->get("is_cluster_page") && $session->get("current_site_id")) { // Define Portal based first