Flash News Application

Last modified by Marius Dumitru Florea on 2022/11/07 00:16

newspaperDisplay very short flash news messages inside a panel
TypeXAR
Category
Developed by

Nicolas Lemoine, Benjamin Lanciaux

Active Installs7
Rating
1 Votes
LicenseGNU Lesser General Public License 2.1

Description

This application doesn't support nested pages. The news must be created as terminal pages.

News documents are simple XWiki documents without any XObject. The panel displays, for each document, the title and the content. Of course, the panel handles the current language of the wiki.

Screenshots

flashnews-space.png

choose-panel.png

panel-english.png

panel-french.png

Improvements that could be done

  • Add a link at the bottom of the panel that goes to FlashNews.WebHome document to view all the flash news.
  • Create a config document with:
    • The number of news displayed in the panel
    • Space source of the news (could be different than FlashNews)

Prerequisites & Installation Instructions

Note that this XAR contains 3 documents:

  • The FlashNews.WebHome with a livetable inside that lists all documents with FlashNews.WebHome as parent.
  • The FlashNews.FlashPanel that displays the latest 2 news (this number can be changed in the query inside the panel). Documents must not be hidden, otherwise they won't show up. Edit the panel in objects to change the CSS style added to doc titles.
  • The FlashNews.Translations that contains the translation key for the panel title (currently in English and French).
Tags:
    

Get Connected