Try now Demo en
  • en
  • fr
  • de
  • Product
    • Platform
      • Software TourFeatures & capabilities overview
      • Why eXoeXo Platform key differentiators
      • InternationalisationSupporting multilingual environments
      • MobileResponsive & available on any device
    • Technology
      • No CodeTailor eXo platform to your needs
      • ArchitectureAn overview of eXo Platform technology
      • IntegrationsAvailable connectors & integration capabilities
      • SecurityeXo Platform security measures
      • Open sourceComponents & licensing
  • Solutions
    • Communication
      • Modern IntranetBuild your company culture
      • Knowledge managementCentralize and share your company knowledge
      • Community managementEngage your community
      • ExtranetInvolve your clients and partners
    • Collaboration
      • Social NetworkConnect all your employees
      • Collaboration PlatformEmpower your teams
      • Employee PortalCentralize your work environment
      • Employee EngagementEngage & empower your employees
    • For
      • Public Sector
      • Networks
      • Education
      • Enterprises
  • Pricing
  • Resources
    • Resource center
      • Case studies
      • White Papers
      • Datasheets
      • Videos
    • Migration guide
      • Alternative to Microsoft 365
      • Alternative to Sharepoint
      • Alternative to Workplace from Meta
    • From The Blog
      • eXo Platform 6.5 is released: personalized navigation, multi-sites management and more
      • eXo launches its online community platform – eXo Tribe!
      • Cloud Vs On-premise Digital Workplace: Which one is right for your business?
  • Community
    • CommunityJoin our online community platform
    • DownloadLaunch eXo platform in your infrastructure
    • Source codeSource code on github
    • FAQsAbout the software, the community and our offers
    • REST APIs & DocumentationAll REST APIs available in eXo Platform
  • Company
    • Customers
    • Partners
    • Services
    • About us
    • Contact us
    • Newsroom
  • Menu mobile
    • Pricing
    • About us
    • Careers
    • Resource center
    • Blog
    • Contact us
    • Try eXo
Platform
  • Software Tour Features & capabilities overview
  • Why eXo eXo Platform key differentiators
  • Internationalisation Supporting multilingual environments
  • Mobile Responsive & available on any device
Technology
  • No Code Tailor eXo platform to your needs
  • Architecture An overview of eXo Platform technology
  • Integrations Available connectors & integration capabilities
  • Security eXo Platform security measures
  • Open source Components & licensing
Communication
  • Modern Intranet Build your company culture
  • Knowledge management Centralize and share your company knowledge
  • Community management Engage your community
  • Extranet Involve your clients and partners
Collaboration
  • Social Network Connect all your employees
  • Collaboration Platform Empower your teams
  • Employee Portal Centralize your work environment
  • Employee Engagement Engage & empower your employees
For
  • Public Sector
  • Networks
  • Education
  • Enterprises
Resource center
  • Case studies
  • White Papers
  • Datasheets
  • Videos
Migration guide
  • Alternative to Microsoft 365
  • Alternative to Sharepoint
  • Alternative to Workplace from Meta
From The Blog
  • eXo Platform 6.5 is released: personalized navigation, multi-sites management and more
  • eXo launches its online community platform – eXo Tribe!
  • Cloud Vs On-premise Digital Workplace: Which one is right for your business?
Community Join our online community platform
Download Launch eXo platform in your infrastructure
Source code Source code on github
FAQs About the software, the community and our offers
REST APIs & Documentation All REST APIs available in eXo Platform
Customers
Partners
Services
About us
Contact us
Newsroom
Pricing
About us
Careers
Resource center
Blog
Contact us
Try eXo
  1. Accueil
  2. Uncategorized
  3. Create a Flipboard Layout for eXo Platform 4

Create a Flipboard Layout for eXo Platform 4

With eXo Platform, you can easily define new Content Types and their associated view. These can be used to create elaborate designs while benefiting from the powerful content management system.

In this tutorial, you will learn how to create a Flipboard-like layout for a page. We’ve called it FlipFeed.

Note: These screenshots were taken on eXo Platform Enterprise Edition 4.0.

Add the News Content Type

We’ll start by creating a new Content Type for news items. To create this Content Type, follow these steps:

  • Log in as the Content Administrator user
  • Go to the Content Administration page
  • Select Repository, then Node Types

xflipfeed-1

  • Now you can add a new Node Type defined by yourself or import a predefined Node Type. Please use this predefined Node Type as an example: https://github.com/exo-addons/resource-center/blob/master/flip-feed/news-nodetype.xml.

xflipfeed-2

xflipfeed-3

This Content Type definition is very basic. It simply contains an image that will be used in the FlipFeed effect.

Add the News Template

To create a template for the news content, we now need to create a dialog that will allow us to interact with the news Node Type from the Content Explorer. We also need to create a default view that will be used to display the news content. To do so, please follow these steps:

  • In the Content Administration, select Templates then Add Template

xflipfeed-4

  • Fill in the fields as required (label, permissions, etc.). Select “exo:news” for the name

xflipfeed-5

  • Select the Dialog tab and replace the auto-generated dialog template with this one: https://github.com/exo-addons/resource-center/blob/master/flip-feed/dialog1.gtmpl.

xflipfeed-6

  • Switch to the View tab and replace the view template with this one: https://github.com/exo-addons/resource-center/blob/master/flip-feed/view1.gtmpl.

xflipfeed-7

  • Save your template
  • Finally, let’s test it!

Create a News Item

To make sure everything is okay, we’ll add a new news item:

  • Go to the Sites Explorer, select New Content

xflipfeed-8

  • Select News as the Content Type
  • Fill in the field as required then Save

xflipfeed-9

  • You should see something like this:

xflipfeed-10

Import a News Sample Set

You can import a sample set to test the template with a larger number of news items. The button to import nodes is not visible by default, so we’ll first need to add that to the admin view:

  • Go to the Content Administration app
  • Select Explorer then Views
  • Click on the Edit button of the Admin view

xflipfeed-11

  • Switch to the Action tab and click on the Edit button of the Admin tab

xflipfeed-12

  • Select Import Node then Save

xflipfeed-13

Now we can go back to the Sites Explorer and import this sample set: https://github.com/exo-addons/resource-center/blob/master/flip-feed/sysview-newsfeed.xml.

xflipfeed-14

  • Select Collaboration Drive
  • Switch to the Admin view
  • Click Import

xflipfeed-15

Install the FlipFeed Template

The view for each individual news item has been defined but we now want to define how these items will be displayed when used by a Content List Viewer portlet. For that, we’ll have to add a new Content List Viewer template:

  • Open the IDE app (Administration -> IDE)
  • Select menu Windows -> Select Workspace…, then “dms-system” workspace
  • In the left tree, open: dms-system > exo:ecm > views > templates > content-list-viewer > list

xflipfeed-16

  • Create a new template (menu > File > Open Local File…)
  • Copy this template and save: https://github.com/exo-addons/resource-center/blob/master/flip-feed/FlipFeed.gtmpl

Create the FlipFeed Page

We’ll now create a new page to display our news with the FlipFeed effect:

  • Go to the Acme website and create a new page (Edit -> Page -> Add Page)
  • Choose a name and title, then go to the layout
  • Add a Content List app and click on the Edit button to set the preferences

xflipfeed-17

  • Point the Folder Path to our sample set location (news)

xflipfeed-18

  • Switch to the Display Settings tab, set Template to FlipFeed.gtmpl and change the other settings as required

xflipfeed-19

Final Result

You should finally see something like this:

xflipfeed-20

You can find more tutorials in the eXo Resource Center and by joining the eXo Community.

 

Cong-Anh Dao

Full-featured digital workplace with everything your employees need to work efficiently, smartly integrated for a compelling employee experience

  • Product
    • Software tour
    • Communication
    • Collaboration
    • Knowledge
    • Productivity
    • Open Source
    • Integrations
    • Security
  • Uses cases
    • Digital Workplace
    • Intranet software
    • Collaboration software
    • Knowledge management software
    • Entreprise Social Network
    • Employee Engagement platform
  • Roles
    • Internal Communications
    • Human Resources
    • Information Technology
  • Company
    • Product offer
    • Services Offer
    • Customers
    • Partners
    • About us
  • Resources
    • FAQs
    • Resource Center
    • Collaboration guide
    • What is a Digital workplace?
    • What is an intranet?
    • Employee engagement
  • Terms and Conditions
  • Legal
  • Privacy Policy
  • Accessibility
  • Contact us
  • Sitemap
  • Facebook
  • Twitter
  • LinkedIn
wpDiscuz