purplespider / basic-files-page
Basic Files Page functionality
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- colymba/gridfield-bulk-editing-tools: 3.* || ^4
- silverstripe/cms: ^4.4 || ^5
- silverstripe/framework: ^4.4 || ^5
- symbiote/silverstripe-gridfieldextensions: ^3 || ^4
This package is auto-updated.
Last update: 2024-11-12 13:53:57 UTC
README
Introduction
Provides basic files page functionality to a SilverStripe site.
Designed to provide a simple, fool-proof way for users to add multiple file download links to a single page.
A "Files" tab in the CMS, allows CMS users to bulk upload multiple files which are then assigned to the page. The files are managed in a GridField, each file item contains a "Link Title" and the File itself. The template then displays links to all the files.
This module has been designed to have just the minimum required features, to avoid bloat, but can be easily extended to add new fields if required.
Note: This is similar to my File Listing Page module, but this one has the files associated with the page, rather than a folder, so the files are managed while editing the page, and not in the Files area. This module also allows you to set the order the download links display in, but can't support a folder hierarchy, only a flat list of links.
Maintainer Contact
- James Cocker (ssmodulesgithub@pswd.biz)
Requirements
- Silverstripe 4.4+ & 5+
Installation Instructions
- Run
composer require purplespider/basic-files-page
- Do a dev/build
Usage Instructions
- Log in the CMS, and create a new Files Page.
- From the page's Files tab you can upload one or more files.
- You can then click on a file to customise the link text, or reorder the files.
Screenshot
Credits
- Uses @colymba's BulkUploader from GridFieldBulkEditingTools for the bulk uploading feature.
- Uses @symbiote's GridFieldOrderableRows from gridfieldextensions for the ability to drag and drop the files to reorder.