2 Replies Latest reply on Jan 21, 2014 10:29 AM by viswanathan_gurumurthy

    How to remove the portal container resources from head tag

    viswanathan_gurumurthy Newbie

      Hi

      We created a Portal Site and when we accessed that using the below url.

       

      http://localhost:8080/portal/myportal, there are few resources loaded from the portal container to head tag.

       

      Please refer the below source of the portal site head tag. Please let me know how to remove these portal container resources from the head tag.

       

       

      Thanks in advance

       

      <head id="head">

       

      <title>Home Page</title>

      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

      <link rel="shortcut icon" type="image/x-icon" href="/portal/favicon.ico" />

      <link id="CoreSkin" rel="stylesheet" type="text/css"

          href="/portal/skins/3.6.3.Final-redhat-4/eXoResources/skin/Stylesheet-min-lt.css" />

      <script type="text/javascript">

                  var require = {"shim":{"PORTLET/web/SiteMapPortlet":{"deps":["SHARED/bootstrap"]},"PORTLET/dashboard/TabbedDashboardPortlet":{"deps":["SHARED/bootstrap"]},"PORTLET/web/IFramePortlet":{"deps":["SHARED/bootstrap"]}},"paths":{"SHARED/uiMaskLayer":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/baseGRP-en-min","SHARED/uiCalendar":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiExtGRP-min","SHARED/navigation":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/navigation-min","SHARED/org_gatein_responsive_menu":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/org_gatein_responsive_menu-min","SHARED/dropdownmenu_jquery":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/dropdownmenu_jquery-min","PORTLET/dashboard/TabbedDashboardPortlet":"/portal/scripts/3.6.3.Final-redhat-4/PORTLET/dashboard:TabbedDashboardPortlet-min","SHARED/org_gatein_jppinformation":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/org_gatein_jppinformation-min","SHARED/gadget":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/gadget-en-min","SHARED/org_gatein_features":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/org_gatein_features-min","SHARED/common":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/common-min","SHARED/portalDragDrop":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/portalGRP-min","SHARED/webui-ext":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiExtGRP-min","PORTLET/web/SiteMapPortlet":"/portal/scripts/3.6.3.Final-redhat-4/PORTLET/web:SiteMapPortlet-min","SHARED/org_gatein_navigation":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/org_gatein_navigation-min","SHARED/base":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/baseGRP-en-min","SHARED/bootstrap":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/bootstrap-min","SHARED/portal":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/portalGRP-min","SHARED/I18NMessage":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/baseGRP-en-min","SHARED/org_gatein_responsive_collapsiblecontainer":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/org_gatein_responsive_collapsiblecontainer-min","SHARED/toggleContainer":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/toggleContainer-min","SHARED/jpp_info_modernizr":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/jpp_info_modernizr-min","SHARED/portalRequest":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/baseGRP-en-min","SHARED/upload":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiExtGRP-min","SHARED/portalControl":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiGRP-min","SHARED/dashboard":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/dashboard-min","SHARED/modernizr":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/modernizr-min","SHARED/uiVirtualList":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiExtGRP-min","PORTLET/web/IFramePortlet":"/portal/scripts/3.6.3.Final-redhat-4/PORTLET/web:IFramePortlet-min","SHARED/portalComposer":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/portalGRP-min","SHARED/popupCategory":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/baseGRP-en-min","SHARED/org_gatein_responsive_dropdownmenu_jquery":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/org_gatein_responsive_dropdownmenu_jquery-min","SHARED/uiMaskWorkspace":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/baseGRP-en-min","SHARED/uiPopup":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/baseGRP-en-min","SHARED/uiForm":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiGRP-min","SHARED/skin":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/baseGRP-en-min","SHARED/uiPopupWindow":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiGRP-min","SHARED/jquery":"/portal/scripts/3.6.3.Final-redhat-4/SHARED/jquery-min","SHARED/selectors":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiGRP-min","SHARED/uiRightClickPopupMenu":"/portal/scripts/3.6.3.Final-redhat-4/GROUP/webuiExtGRP-min"}};

              </script>

      <script type="text/javascript"

          src="/portal/scripts/3.6.3.Final-redhat-4/SHARED/bootstrap-min.js"></script>

      <script type="text/javascript">           

                  eXo.env.addLoadedRemoteScripts([]);

                  eXo.env.portal.context = "/portal" ;

                  eXo.env.portal.accessMode = "public" ;

                  eXo.env.portal.portalName = "ServiceLoansPortal" ;

                    eXo.env.portal.containerName = "portal" ;

                  eXo.env.server.context = "/portal" ;

                  eXo.env.server.portalBaseURL = "/portal/ServiceLoansPortal/" ;

                  eXo.env.server.portalURLTemplate = "/portal/ServiceLoansPortal/?portal:componentId={portal:componentId}&portal:action={portal:action}" ;

                  eXo.env.client.skin = "Default" ;

                  eXo.portal.portalMode = 0;

                  eXo.session.level = "onDemand";

                  eXo.session.canKeepState = true;

                  eXo.session.isOpen = false ;

                  eXo.session.itvTime = 1800 ;

              </script>

       

      <!-- 508 Compliancy -->

      <style type="text/css">

      .skipHidden {

          position: absolute !important;

          left: -10000px !important;

          top: auto !important;

          width: 1px !important;

          height: 1px !important;

          overflow: hidden !important;

      }

       

      html[dir="rtl"] .skipHidden {

          right: -10000px !important;

          left: auto !important;

      }

      </style>

      <!-- The android browser on 2.3.x doesn't properly handle rtl so we need to handle this special situation.

                           This old browser it expects right to be positive instead of negative in order to hide the content instead of displaying it.

                           If the page is over 10000px wide and rtl we assume this situation. -->

      <script type="text/javascript">

                           if (window.onload) {

                             var currentOnLoad = window.onload;

                             window.onload = function() { currentOnLoad(); checkRTLWidth() };

                           } else {

                             window.onload = checkRTLWidth;

                           }

                           function checkRTLWidth() {

                             if (document.documentElement && document.documentElement.getAttribute("dir") == "rtl" && document.body.scrollWidth >= 10000) {

                                var stylesheet = document.styleSheets[document.styleSheets.length - 1];

                                stylesheet.insertRule("html[dir='rtl'] .skipHidden { right: 10000px !important;}", stylesheet.cssRules.length);

                             }

                          }

                      </script>

      <!-- /508 Compliancy -->

      </head>