- Author
- Contact
Michael JasonSmith <mpj17@onlinegroups.net>
- Date
2016-02-02
- Organization
- Copyright
This document is licensed under a
In some groups the files that are posted are very important. To support this, the Files list displays the files that have been posted recently on the Group page. It also supplies a link to the ATOM feed for the most-recent files.
The gs-group-messages-files-tab
viewlet provides the space for a list of recently posted files, in the Secondary part of the Group page1. An AJAX call is made by the JavaScript resource for the list, which is loaded after the other resources in the browser-window.
Each list item shows
- A square thumbnail, if the file is a photo,
- The file-name, and
- The topic name (linking to the topic).
The JavaScript resource gs-group-messages-files-js-20160201.js
2 loads the files from the page gs-group-messages-files-ajax.html
in the Group context. It uses the GSSearch
system to perform the search3.
The resource is added to the Group page by the gs-group-messages-files-script
viewlet.
A link to the ATOM of all files posted to the group is provided by this product. It has the name gs-group-messages-files-link
and relies on the viewlet manager providing the gs.group.home.interfaces.IGroupHomepageMetadata
interface.
- Code repository: https://github.com/groupserver/gs.group.messages.files
- Translations: https://www.transifex.com/projects/p/gs-group-messages-files/
- Questions and comments to http://groupserver.org/groups/development
- Report bugs at https://redmine.iopen.net/projects/groupserver
The files list uses the viewlet manager
gs.group.home.interfaces.IGroupHomepageSecondary
. Seegs.group.home
<https://github.com/groupserver/gs.group.home>↩The minified version
gs-group-messages-files-js-min-20160201.js
is normally used.↩See
gs.search.base
<https://github.com/groupserver/gs.search.base>↩