Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Truncate Posts on Home Page of Blog Site

Posted on 2011-09-30
3
Medium Priority
?
693 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 1000 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 1000 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

885 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