From cb2779517daf1ed2584b6356373288455712118d Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Tue, 10 Sep 2024 18:45:50 +0100 Subject: [PATCH] feat: Change Space Home Image Portlet - MEED-7442 - Meeds-io/MIPs#147 (#2376) This change will change the Space Banner portlet to use the Space Image portlet instead. In addition, this will add an upgrade plugin to delete the space Banner Portlet from portlet instances. --- .../template/pages/spaceHomePage/page.xml | 7 +++- .../sites/portal-upgrade-configuration.xml | 39 +++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml index d034fa95a..d1f583bdc 100644 --- a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml @@ -30,9 +30,12 @@ social-portlet - SpaceBannerPortlet + Image - Space Banner + Image + + true + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-upgrade-configuration.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-upgrade-configuration.xml index 4e40abadd..0fac49987 100644 --- a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-upgrade-configuration.xml +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-upgrade-configuration.xml @@ -684,6 +684,45 @@ + + SpaceBannerRemovalPortletsUpgrade + addUpgradePlugin + io.meeds.layout.plugin.upgrade.LayoutApplicationReferenceUpgradePlugin + + + product.group.id + The groupId of the product + org.exoplatform.social + + + plugin.execution.order + The plugin execution order + 5 + + + plugin.upgrade.execute.once + Execute only once, not each version change + true + + + SpaceBannerPortlet + + + remove + + + social-portlet/SpaceBannerPortlet + + + false + + + true + + + + +