Skip to content

purplespider/silverstripe-basic-news

Repository files navigation

Basic News Module

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published