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.
- James Cocker ([email protected])
- Silverstripe 5+
- Use version 2 for SilverStripe 4 support
- Use the 3.1 branch for SilverStripe 3.1 support
- 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.
If you'd like to have Facebook OG and Twitter Card support, just add <% include PurpleSpider\BasicNews\MetaTags %>
to your site's head
.
- 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
News Article Page
News Holder Page