How to retrieve 3 recent blog posts?

Topics: Business Logic Layer
Aug 16, 2011 at 12:32 AM

Hi,

I like to retrieve 3 recent blog posts and display them in a small section of a page. Can someone help me? Thank you

Aug 16, 2011 at 1:21 AM
Edited Oct 24, 2011 at 9:54 PM

Very easy.

 

Go to add widgets

Select ----> Recent Posts

Click on the pencil icon.

In the Text box that says <label for="widget_txtNumberOfPosts">Number of posts</label> <input id="widget_txtNumberOfPosts" style="width: 30px;" name="widget$txtNumberOfPosts" type="text" value="10" />    <------ Put 3

ScreenShot: Here

Click save thats it for the widget.

 

Make sure that the widgetzone in your master page is where you want the recent posts :)

 

If not put it there :)

 

 


Java Blog

Aug 16, 2011 at 2:04 AM

Thank you Brian!