zirak/blog-post-publication-period

There is no license information available for the latest version (dev-master) of this package.

This module will allow you to set the period of time for the publishing of your post.

dev-master 2014-10-22 07:28 UTC

README

This module will allow you to set the period of time for the publishing of your post.

Requirements

  • SilverStripe 3.1.*
  • silverstripe/blog module

Features

##Configuration Options

When you add a post, you can insert the start publication date and the end publication date from the "Published Period" tab. In order to filtering posts, you must call the "FilteredBlogEntries" function in BlogEntry.ss

<% if FilteredBlogEntries %>
        <% loop FilteredBlogEntries %>
                <% include BlogSummary %>
        <% end_loop %>
<% else %>
        <h2><% _t('BlogTree_ss.NOENTRIES', 'There are no blog entries') %></h2>
<% end_if %>