From d86162004c6080186e20f77d916b56bb820d0f63 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 | 40 ++++++++++++++++++- 2 files changed, 44 insertions(+), 3 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 cabaed02d..144c54691 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 @@ -673,6 +673,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 + + + + + PublicSiteLayoutUpgrade addUpgradePlugin @@ -714,5 +753,4 @@ -