purplespider/basic-news

Basic News Holder & News Article functionality

Installs: 1 392

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 1

Type:silverstripe-vendormodule

3.0.2 2024-03-17 21:17 UTC

This package is auto-updated.

Last update: 2024-03-17 21:18:48 UTC


README

Scrutinizer Code Quality

Introduction

Provides basic "news page" functionality to a SilverStripe site.

Designed to provide a simple, fool-proof way for users to add news articles to their website.

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.

Maintainer Contact

Requirements

  • Silverstripe 5+
  • Use version 2 for SilverStripe 4 support
  • Use the 3.1 branch for SilverStripe 3.1 support

Installation Instructions

  1. Place the contents of this repository in a directory named basic-news at the root of your SilverStripe install.
  2. Visit yoursite.com/dev/build to rebuild the database.
  3. Log in the CMS, and create a new News Holder page.

If you'd like to have Facebook OG and Twitter Card support, just add <% include PurpleSpider\BasicNews\MetaTags %> to your site's head.

Features

  • A News Article has a Headline, Date, Article & Image (optional)
  • Add New News Article button on Holder CMS page.
  • Articles listed on holder page, with date and title
  • News Articles are automatically moved to a News Holder if created elsewhere in the sitetree accidentally.
  • Lightbox compatibility
  • RSS feed of articles
  • Articles are paginated on the News Holder

Screenshots

News Article Page

Screenshot Screenshot

News Holder Page

Screenshot Screenshot