Jump to:

1856 Posts in 1610 Topics by 562 members

Blog Module

SilverStripe Forums » Blog Module » Blog redirect to homepage and display last months blog posts

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 390 Views
  • traineetechy
    Community Member
    3 Posts

    Blog redirect to homepage and display last months blog posts Link to this post

    Hi guys,

    Just wondering if anyone can help with this problem I am having, I have redirected my homepage to the blog module, I have posts dating back several months and in the CMS have already chosen to display them monthly, so I would like to display the most recent months blog posts on the homepage as it were.

    I have already added a sidebar where a user can select to view a previous months blog posts, I just cannot seem to get the latest blog posts displaying. Currently the homepage shows 'no blog entries' as it is redirected to the blog no problem but I cant figure out the code required to say display last 1 months posts, similarly to what I have already set up in the blog options in the CMS.

    Any help or advise would be much appreciated as I have been stuck for quite a while on this one now.



Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.