locked
Announcements - set column width in the standard web part RRS feed

  • Question

  • Hi All,

    could you please help, if it is possible to set the column with of the standard Announcements web part in Shared Point?

    Current view:

    Expected:

    Is it possible without creating custom templates / etc? Only to adjust the standard xml schema?

    <TemplateName xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm" >ListForm</TemplateName>


    Thanks in advance!

    • Edited by stoneclub Thursday, September 6, 2012 5:31 PM
    • Moved by star.warsModerator Friday, September 7, 2012 8:52 AM sharepoint 2007 question (From:SharePoint 2010 - General Questions and Answers)
    Thursday, September 6, 2012 5:30 PM

Answers

  • Hi stone,

    It should be SharePoint 2007, you may want to use the SharePoint Designer 2007 to customize (adjust the width in Figure7 mentioned in article) the Announcements list NewForm.aspx/EditForm.aspx page per this article,

    http://sharepoint07.wordpress.com/2008/02/05/customize-the-newformaspx/

    Thanks


    Daniel Yang

    TechNet Community Support

    • Proposed as answer by Josh Crater Friday, September 7, 2012 2:48 PM
    • Marked as answer by stoneclub Sunday, December 16, 2012 1:21 PM
    Friday, September 7, 2012 8:51 AM
    Moderator
  • Thanks again for all of your help!

    I had some time now and explored a much better way to create a list on the sharepoint site.

    The recipe: 

    First create an access type list on the sharepoint with various fields which can be filtered

    Then insert data view - and explore its functionality. It can be linked to the list, and can be filtered to whichever shape and design you would like to use on your sharepoint site

    I was amazed on the results.

    The access type list source looks like:

    It is easily editable, and not shrink.

    And the result layout / presentation looks:

    It can be grouped, filtered, exatly what I needed.

    • Marked as answer by stoneclub Sunday, December 16, 2012 1:21 PM
    Sunday, December 16, 2012 1:19 PM

All replies

  • Did you try changing the physical appearance of the web part?

    Josh Crater Joshcrater@younoweno.com

    Thursday, September 6, 2012 5:47 PM
  • What I did is that I changed the size of the container table to full explorer width. Unfortunatelly, it is not reflected in the Announcement element, as per the picture, it is just centered in the middle, with the same width.

    It is simple not nice to have that stretchy box in the middle of the explorer while editing the announcement, and edit is not easy if the announcement has quite a long text to write.


    • Edited by stoneclub Thursday, September 6, 2012 8:29 PM
    Thursday, September 6, 2012 8:28 PM
  • Are you trying to change the width of the box you actually type your announcement in or the box to read the announcement?


    Josh Crater Joshcrater@younoweno.com

    Thursday, September 6, 2012 8:34 PM
  •  The width of the box I am actually typing the announcement in.
    Thursday, September 6, 2012 8:56 PM
  • There may be a custom code you can use to change the way it opens but that's the only thing I can think of...

    Josh Crater Joshcrater@younoweno.com

    Thursday, September 6, 2012 8:59 PM
  • Hi stone,

    It should be SharePoint 2007, you may want to use the SharePoint Designer 2007 to customize (adjust the width in Figure7 mentioned in article) the Announcements list NewForm.aspx/EditForm.aspx page per this article,

    http://sharepoint07.wordpress.com/2008/02/05/customize-the-newformaspx/

    Thanks


    Daniel Yang

    TechNet Community Support

    • Proposed as answer by Josh Crater Friday, September 7, 2012 2:48 PM
    • Marked as answer by stoneclub Sunday, December 16, 2012 1:21 PM
    Friday, September 7, 2012 8:51 AM
    Moderator
  • The above article is compelling, however there remain some open question:

    if I create a custom Announcements with custom fields, seems fields still are not controllable.

    The Body field has the following code:

    <SharePoint:FormField 
    runat="server" 
    id="ff2{$Pos}" 
    ControlMode="New" 
    FieldName="Body" __designer:bind=
    "{ddwrt:DataBind('i',
    concat('ff2',$Pos),'Value','ValueChanged',
    'ID',ddwrt:EscapeDelims(string(@ID)),'@Body')}"/>

    Could you please help, where is there any parameter to set width of editor box?

    I am wondering if this could get more complex excercise that I would expect for the simplicity of the change.

    Thanks for all the helps so far!

    Monday, September 10, 2012 12:50 PM
  • Thanks again for all of your help!

    I had some time now and explored a much better way to create a list on the sharepoint site.

    The recipe: 

    First create an access type list on the sharepoint with various fields which can be filtered

    Then insert data view - and explore its functionality. It can be linked to the list, and can be filtered to whichever shape and design you would like to use on your sharepoint site

    I was amazed on the results.

    The access type list source looks like:

    It is easily editable, and not shrink.

    And the result layout / presentation looks:

    It can be grouped, filtered, exatly what I needed.

    • Marked as answer by stoneclub Sunday, December 16, 2012 1:21 PM
    Sunday, December 16, 2012 1:19 PM