Skip to content

helpfulrobot/purplespider-basic-news

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic News Module

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.

IMPORTANT

The master branch has been updated to require micmania1's Lumberjack module, which moves the list of news articles from the sitetree to a gridfield.

However, there are a couple of tweaks required to Lumberjack in order for the best "News" experience. I've opened pull requests, but until they are accepted you can use my Lumberjack fork:

Just add the following to your composer.json file:

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/purplespider/silverstripe-lumberjack"
        }
    ]

And to require add: "micmania1/silverstripe-lumberjack": "1.0.1a"

If you don't wish to use this version, you can use the basic-news version 1.0.0 which doesn't use Lumberjack: "purplespider/basic-news": "1.0.*"

Maintainer Contact

Requirements

  • Silverstripe 3.1+

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.

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 summary, date, image
  • News Articles are automatically moved to a News Holder if created elsewhere in the sitetree accidentally.
  • Lightbox compatability
  • 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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 71.1%
  • Scheme 20.9%
  • CSS 8.0%