-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add default Space Site with Home page only - Meeds-io/MIPs#150
- Loading branch information
Showing
3 changed files
with
162 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...ps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/group/template/space/group.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2020 - 2024 Meeds Association [email protected] | ||
This program is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 3 of the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program; if not, write to the Free Software Foundation, | ||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
<portal-config | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_11 http://www.gatein.org/xml/ns/gatein_objects_1_11" | ||
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_11"> | ||
<portal-name>@owner@</portal-name> | ||
<displayed>false</displayed> | ||
<locale>en</locale> | ||
<access-permissions>member:@owner@</access-permissions> | ||
<edit-permission>*:/platform/administrators</edit-permission> | ||
<portal-layout> | ||
<page-body /> | ||
</portal-layout> | ||
</portal-config> |
35 changes: 35 additions & 0 deletions
35
...f-sites-extension/src/main/webapp/WEB-INF/conf/portal/group/template/space/navigation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2020 - 2024 Meeds Association [email protected] | ||
This program is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 3 of the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program; if not, write to the Free Software Foundation, | ||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
<node-navigation | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_11 http://www.gatein.org/xml/ns/gatein_objects_1_11" | ||
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_11"> | ||
<priority>3</priority> | ||
<page-nodes> | ||
<node> | ||
<name>home</name> | ||
<label>Home</label> | ||
<icon>fas fa-home</icon> | ||
<page-reference>group::@owner@::home</page-reference> | ||
</node> | ||
</page-nodes> | ||
</node-navigation> |
92 changes: 92 additions & 0 deletions
92
...ps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/group/template/space/pages.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2020 - 2024 Meeds Association [email protected] | ||
This program is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 3 of the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program; if not, write to the Free Software Foundation, | ||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
<page-set | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_11 http://www.gatein.org/xml/ns/gatein_objects_1_11" | ||
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_11"> | ||
<page> | ||
<name>home</name> | ||
<title>Home</title> | ||
<access-permissions>Everyone</access-permissions> | ||
<edit-permission>manager:@owner@</edit-permission> | ||
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl"><!-- To be deleted once WebUI is cleaned from Meeds package --> | ||
<section-columns> | ||
<column col-span="12"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social</application-ref> | ||
<portlet-ref>SpaceBannerPortlet</portlet-ref> | ||
</portlet> | ||
<title>Space Banner</title> | ||
</portlet-application> | ||
</column> | ||
</section-columns> | ||
<section-columns | ||
sticky-beahvior="true" | ||
mobile-columns-style="true"> | ||
<column col-span="8"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social</application-ref> | ||
<portlet-ref>SpaceActivityStreamPortlet</portlet-ref> | ||
</portlet> | ||
<title>Space Activity Stream</title> | ||
</portlet-application> | ||
</column> | ||
<column col-span="4"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social</application-ref> | ||
<portlet-ref>SpaceWidgetDescription</portlet-ref> | ||
</portlet> | ||
<title>Space Description</title> | ||
</portlet-application> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social</application-ref> | ||
<portlet-ref>SpaceWidgetManagers</portlet-ref> | ||
</portlet> | ||
<title>Space Managers</title> | ||
</portlet-application> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social</application-ref> | ||
<portlet-ref>SpaceWidgetMembers</portlet-ref> | ||
</portlet> | ||
<title>Space Members</title> | ||
</portlet-application> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social</application-ref> | ||
<portlet-ref>WhoIsOnLinePortlet</portlet-ref> | ||
</portlet> | ||
<title>Who is on Line</title> | ||
</portlet-application> | ||
<container id="space-home-widgets-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>space-home-widgets-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
</column> | ||
</section-columns> | ||
</container> | ||
</page> | ||
</page-set> |