Solved

Truncate Posts on Home Page of Blog Site

Posted on 2011-09-30
3
672 Views
Last Modified: 2012-05-12
I am starting a KB site using blog template. Although I am using categories, I am concerned that our users will have to scroll to far down the page to see relevant information and they are not that proficient with search. Is there a way to truncate the amount of post that displays on the main page of the blog? (Like the Announcement lists does). THis way they won't have to scroll so far to find their content.

Thanks in advance for your help!
0
Comment
Question by:janicet123
3 Comments
 
LVL 14

Accepted Solution

by:
GeorgeGergues earned 250 total points
ID: 36899583
Very good start
I did implement that at some point in the past and the blog site is the best for web authoring (KB would be optimal )

Here is the trick .

The home page has a web part that show a set number of item ( it is a list webpart ) with special format.

You can do one of two options ( and please do this on your LAB/DEV area first before implementation )

[1] Create you own view of the Posts list and place that on the Default page instead of the current view .
Or
[2] Edit the home page of the Blog and Edit the List view webpart and edit the current view > limit the number of articles you want to show along with any history criteria you have for you implementation .



Best of luck , keep me posted with updates.
0
 
LVL 9

Assisted Solution

by:Ivan Padabed
Ivan Padabed earned 250 total points
ID: 36899742
you can put custom XSL file for your Posts Web Part on a home page. Find the post body parameter and use the following XSLT trick to display first 255 symbols only:
<xsl:value-of select="substring(@YourField, 0, 255)"/>
0
 
LVL 7

Author Closing Comment

by:janicet123
ID: 37140250
Thank you both, I incorporated both suggestions and it worked very well.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now