Skip to content

Commit

Permalink
fix: Configure Default Portals to be displayed in Left Menu by Default -
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker authored and rdenarie committed Feb 6, 2025
1 parent d4fba6a commit 9ba8100
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<portal-name>meeds</portal-name>
<label>#{portal.meeds.name}</label>
<description>#{portal.meeds.description}</description>
<displayed>true</displayed>
<display-order>30</display-order>
<locale>en</locale>
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2196,7 +2196,7 @@
</init-params>
</component-plugin>
<component-plugin>
<name>AdministrationSitePortalConfigUpgrade.13</name>
<name>AdministrationSitePortalConfigUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<description>An upgrade plugin to delete some recognition administration navigations</description>
Expand Down Expand Up @@ -2240,7 +2240,7 @@
</init-params>
</component-plugin>
<component-plugin profiles="layout">
<name>PublicSitePortalConfigUpgrade.13</name>
<name>PublicSitePortalConfigUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<init-params>
Expand Down Expand Up @@ -2280,7 +2280,7 @@
</init-params>
</component-plugin>
<component-plugin profiles="layout">
<name>PublicSiteTemplatePortalConfigUpgrade.13</name>
<name>PublicSiteTemplatePortalConfigUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<init-params>
Expand Down Expand Up @@ -2320,7 +2320,7 @@
</init-params>
</component-plugin>
<component-plugin profiles="layout">
<name>SpacePublicSiteTemplatePortalConfigUpgrade.13</name>
<name>SpacePublicSiteTemplatePortalConfigUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<init-params>
Expand Down Expand Up @@ -2360,7 +2360,7 @@
</init-params>
</component-plugin>
<component-plugin>
<name>LayoutEditorsPagesUpgrade.13</name>
<name>LayoutEditorsPagesUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<init-params>
Expand Down Expand Up @@ -2428,7 +2428,7 @@
</init-params>
</component-plugin>
<component-plugin>
<name>MycraftMyteamPageUpgrade.13</name>
<name>MycraftMyteamPageUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<init-params>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<portal-name>contribute</portal-name>
<label>#{portal.contribute.name}</label>
<description>#{portal.contribute.description}</description>
<displayed>true</displayed>
<display-order>10</display-order>
<locale>en</locale>
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,22 @@
-->
<portal-config>
<portal-name>global</portal-name>
<label>#{portal.global.name}</label>
<description>#{portal.global.description}</description>
<locale>en</locale>
<access-permissions>Everyone</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<properties>
<entry key="removable">false</entry>
<portal-name>global</portal-name>
<label>#{portal.global.name}</label>
<description>#{portal.global.description}</description>
<displayed>false</displayed>
<locale>en</locale>
<access-permissions>Everyone</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<properties>
<entry key="removable">false</entry>
<entry key="icon">fa-globe</entry>
</properties>
<portal-layout template="system:/groovy/portal/webui/container/UISiteLayout.gtmpl">
<site-middle-section>
<site-middle-center-section>
<page-body />
</site-middle-center-section>
</site-middle-section>
</portal-layout>
</properties>
<portal-layout template="system:/groovy/portal/webui/container/UISiteLayout.gtmpl">
<site-middle-section>
<site-middle-center-section>
<page-body />
</site-middle-center-section>
</site-middle-section>
</portal-layout>
</portal-config>
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<portal-name>mycraft</portal-name>
<label>#{portal.mycraft.name}</label>
<description>#{portal.mycraft.description}</description>
<displayed>true</displayed>
<display-order>20</display-order>
<locale>en</locale>
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions>
Expand Down

0 comments on commit 9ba8100

Please sign in to comment.