1 Reply Latest reply on Jun 25, 2013 11:07 PM by vstorm83

    Disable GateIn builtin portals (classic portal)

    anishantony

      Hi all

       

      How can i disable builtin GateIn portals (classic portal) in GateIn 3.5. Is there is any configuration available for that?

       

      regards

       

      Anish Antony

        • 1. Re: Disable GateIn builtin portals (classic portal)
          vstorm83

          buildin sites data is initialized by configuration, you can delete, or disable a site by adding extra configuration (using extension machanism - look at gatein document) for UserPortalConfigService. You can find example here: https://docs.jboss.org/author/display/GTNPORTAL36/Default+Portal+Configuration

           

          <external-component-plugins>

              <target-component>org.exoplatform.container.definition.PortalContainerConfig</target-component>

              <component-plugin>

                <name>Add PortalContainer Definitions</name>

              </component-plugin>

              <component-plugin>

                <name>Disable a PortalContainer</name>

                <set-method>registerDisablePlugin</set-method>

                <type>org.exoplatform.container.definition.PortalContainerDefinitionDisablePlugin</type>

                <init-params>

                  <values-param>

                    <name>names</name>

                    <value>classic</value>

                  </values-param>

                </init-params>

              </component-plugin>

            </external-component-plugins>

          </configuration>