Stump the Panel: SharePoint Q&A

Immediate solutions for common SharePoint questions
It is currently Sun May 19, 2013 3:58 am

All times are UTC - 5 hours [ DST ]


Forum rules


What you are viewing is an archive of Stump the Panel. It remains for reference purposes. Please post all new questions on NothingButSharePoint.com
https://www.nothingbutsharepoint.com/sites/eusp/Forum



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Web Part to display most current blog post from another SPN
PostPosted: Wed Aug 04, 2010 10:26 am 
Offline

Joined: Wed Aug 04, 2010 10:13 am
Posts: 5
We have two sites set up:
1) "Home". This is a main page with announcements, events calendar, useful links, documents, etc. Website = /CommunityTest/default.aspx
2) "Insight Blog". This is a blog page with topics, posts, archived posts, etc. Webiste = /CommunityTest/InsightBlog/default.aspx

There are tabs at the top of the page with both of the sites.

On the "Insight Blog" page, we've been able to create a Web Part that displays the most current blog. This was easy enough by setting the View to <Current View>.

In order to entice people to go to the Blog, we would like to have this most current post on the "Home" page as well. Since this main page is not a blog page, I'm finding it difficult to get just the post into a Web Part. I've tried several web pages as a Link for the Web Part:
1) /spn/CommunityTest/InsightsBlog/default.aspx. This shows the whole site.
2) /spn/CommunityTest/InsightsBlog/Lists/Posts. This shows all posts.
3) /spn/CommunityTest/InsightsBlog/Lists/Posts/Post.aspx?ID=13. This shows the post, but the whole site of the post.

Essentially, I would like this web part to look just like the Web Part on the "Insight Blog" page.

Any ideas on how to do that?


Top
 Profile  
 
 Post subject: Re: Web Part to display most current blog post from another SPN
PostPosted: Wed Aug 04, 2010 11:06 am 
Offline
User avatar

Joined: Mon Jan 04, 2010 1:15 am
Posts: 1839
Location: North Carolina
There are a few options that come to mind; data view web part, content query web part, page viewer web part, RSS.


Top
 Profile  
 
 Post subject: Re: Web Part to display most current blog post from another SPN
PostPosted: Wed Aug 04, 2010 1:40 pm 
Offline

Joined: Wed Aug 04, 2010 10:13 am
Posts: 5
Data View - don't seem to have this type.

Content Query - This doesn't work as it isn't a data file and we can't readily extract the information into a table.

Page Viewer - this is what we tried before where we could only view the entire web page

RSS - is that using an XML type of web part?


Again, we only want to see the original post of the newest post; no comments. This I think negates the Page Viewer idea completely.


Top
 Profile  
 
 Post subject: Re: Web Part to display most current blog post from another SPN
PostPosted: Wed Aug 04, 2010 2:14 pm 
Offline
User avatar

Joined: Mon Jan 04, 2010 1:15 am
Posts: 1839
Location: North Carolina
Data views web parts are built in Sharepoint Designer. Content Query can roll up blogs, you just have to point it at the Posts content type. Page viewer web part could work with some tinkering in SPD so that the page only contains the minimum amount of information needed. Using either the RSS viewer web part or the XML web part to display the data.


Top
 Profile  
 
 Post subject: Re: Web Part to display most current blog post from another
PostPosted: Wed Apr 06, 2011 10:05 am 
Offline

Joined: Wed Aug 04, 2010 10:13 am
Posts: 5
BTW, I was able to do this with Sharepoint Designer, where we pulled in the post data source from the subsite. Works like a charm!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group