Saturday, February 21, 2009

Expanding the Size of Announcements Web Part


The announcements web part that is displayed on a team site will limit the amount of body text that is displayed. Here's a simple way to expand the size of the displayed announcements web part on a team site while retaining a similar format.
Start with a Team Site and modify an announcement to contain a large amount of text. This example uses an extreme amount of text!











Next, open the page with SharePoint Designer. Click on the announcements web part and you'll notice a List View Options button is displayed in the upper left corner of the web part. Click on Change Layout.






Select the Layout tab and select the layout that is 3rd or 4th from the bottom of displayed layouts and click OK.




Click Yes to the Site Definition Page Warning dialog. You are now "un-ghosting" the page from the site definition and a custom version of the page is being stored in the database. Save your work in SharePoint Designer.




Reload the page in your browser and look at the results. Notice the additional fields displayed at the bottom of the announcement. Let's get rid of them.






Go back to SharePoint Designer and click on the List View Options button again but this time select Fields. Highlight the fields you want to remove and click the Remove button and then click OK. Save your work in SharePoint Designer and go back and reload your browser to see the results.






The extra fields are now gone.


8 comments:

Primal Zed said...

Thank you much, very straightforward and helpful. Was just looking for this exact thing. Now if only the client would let me access their sharepoint server using Designer, so I can enable this on there as well as on my own development site.

Russell Wright said...

I feel 'ya!

Anonymous said...

Is there anyway to perform this without the use of SharePoint Designer?

alps said...

But the title cannot be edited or modified........?

anilkuchi said...

Hi nice article .I have a question does this article holds good even for Share point 2010

Jordan Alexander Hartley said...

DOesnt look like this works with 2010.

I remember doing this with MOSS 2007 + Designer 2007.

But im struggling to figure it out with my new SharePoint 2010 + Designer 2010 combo.

Has anybody got a solution?

Anonymous said...

I was wondering the same thing: how do you do this with SharePoint Designer 2010?

Unknown said...

I know this is old, but you can accomplish the same thing just by creating a new view in Announcements. No Designer required! :-) Settings > List Settings > Create New View. Name the view. Choose items (Title with link to edit, body, created, etc). Sort by Created. Limit items to 5 or 6. Save. On the page w/webpart, modify, change view to your new view. Viola!