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.
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.*"
- James Cocker (ssmodulesgithub@pswd.biz)
- Silverstripe 3.1+
- Place the contents of this repository in a directory named basic-news at the root of your SilverStripe install.
- Visit yoursite.com/dev/build to rebuild the database.
- Log in the CMS, and create a new News Holder page.
- 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
News Article Page
News Holder Page