Show Blog Posts by Month

Sara Fludd asked on August 22, 2018 14:47

So I've set up a blog for one of my groups, and although the cumulative posts show correctly using the blog archive, i.e. June (2) July (3)

when you click on a month it shows ALL of the blog posts instead of just showing the posts for the month in question. What am I missing?

Correct Answer

Brenden Kehren answered on August 22, 2018 15:07

You won't be modifying the transformation. You'll be modifying the repeater property "Path". The path is most likely set to /blog or something like that. It needs to be updated to ./%.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on August 22, 2018 14:49

Your repeater should have a path like ./% in it, this way it will only get the posts under the currently selected page/document.

0 votesVote for this answer Mark as a Correct answer

Sara Fludd answered on August 22, 2018 15:03

Brenden - thanks so much. The web part that is pulling in the posts is RecentPosts1 and the transformation is cms.blogpost.recentposts: which is: <%@ Control Language="C#" AutoEventWireup="true" Inherits="CMS.Controls.CMSAbstractTransformation" %> <%# Eval("BlogPostTitle", true) %>

Am I on the wrong webpart/transformation?

0 votesVote for this answer Mark as a Correct answer

Sara Fludd answered on August 22, 2018 15:45

YES! Brenden you made my day! Worked perfectly! Thank you!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.