New Comment Web Part  Removed

davthocur
davthocur used Ask the Experts™
on
One of my colleuges removed the "New Comment" web part from the Lists/posts.post.aspx
Now my users do not have the ability to comment on blogs.  Please advise on how to recover this.
Thanks,
Dave
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Did he delete it or close it?

Add the following to the end of the URL to check, "?contents=1"

Here are the steps to un-close the webpart - http://www.endusersharepoint.com/2007/11/06/tips-and-tricks-opening-a-closed-web-part-to-properly-delete-a-web-part/

Author

Commented:
Can't use designer because of issues it caused with the site (Ghosted pages)
The part was delted and is under the closed web part.
 
How to Generate Services Revenue the Easiest Way

This Tuesday! Learn key insights about modern cyber protection services & gain practical strategies to skyrocket business:

- What it takes to build a cloud service portfolio
- How to determine which services will help your unique business grow
- Various use-cases and examples

Commented:
The steps I provided doesn't involve SP Designer.

Did you use the steps to re-open the closed webpart? BTW, a web part can't be deleted and closed at the same time. Its either one or the other.

Author

Commented:
The web part does not show up as being closed so I suspect it must have been removed formthe page.  The "new comment" web part that appears below the comments web part  is no where to be found in th web part gallery.  and if I go to a developement instance of MOSS it is not able to be exported.

Commented:
I created a blog site and deleted the "New Comments" web part and see what you mean. I haven't figured out a way to recover the  "New Comments" web part back yet, but wanted to confirm that you didn't close the web part since in one post you stated it was under closed web and and the next you said it wasn't.

Add the "?contents=1" to the end of your post.aspx page like the following:

http://serverl/sites/teamsite/blog/Lists/Posts/Post.aspx?contents=1

Do you see the "New Comments" web part listed? If so, is it a yes or no under the "Open on Page?" column.
Commented:
I've taken a closer look at the "Post.aspx" page using SharePoint Designer and discovered that is not a special "New Comments" web part, but really a "ListFormWebPart" which explains why you can't find it in the Web Part Gallery.

My recommendation would be to create a new Blog site, and use SharePoint Designer to Cut and Paste out the ListFormWebPart representing the "New Comments" webpart and paste it into the Post.aspx page that is missing it. Not sure if that will work.

Another thing to try is to manually add the below code in SharePoint Designer (code view). It should be added right before the
</WebPartPages:ListFormWebPart>
</ZoneTemplate></WebPartPages:WebPartZone>



<WebPartPages:ListFormWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{7D2FE203-F66D-47C0-8245-27F9964D0443}" >
<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
  <Title>New Comment</Title>
  <FrameType>None</FrameType>
  <Description />
  <IsIncluded>true</IsIncluded>
  <PartOrder>3</PartOrder>
  <FrameState>Normal</FrameState>
  <Height />
  <Width />
  <AllowRemove>true</AllowRemove>
  <AllowZoneChange>true</AllowZoneChange>
  <AllowMinimize>true</AllowMinimize>
  <AllowConnect>true</AllowConnect>
  <AllowEdit>true</AllowEdit>
  <AllowHide>true</AllowHide>
  <IsVisible>true</IsVisible>
  <DetailLink />
  <HelpLink />
  <HelpMode>Modeless</HelpMode>
  <Dir>Default</Dir>
  <PartImageSmall />
  <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
  <PartImageLarge />
  <IsIncludedFilter />
  <ExportControlledProperties>true</ExportControlledProperties>
  <ConnectionID>00000000-0000-0000-0000-000000000000</ConnectionID>
  <ID>g_7d2fe203_f66d_47c0_8245_27f9964d0443</ID>
  <ListName xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">{35284A2E-9E9F-442A-BD94-24D9412EAF38}</ListName>
  <ListTitle xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">Comments</ListTitle>
  <HideIfNoPermissions xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">true</HideIfNoPermissions>
  <ListItemId xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">0</ListItemId>
  <ControlMode xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">New</ControlMode>
  <DisableInitialFocus xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">true</DisableInitialFocus>
  <TemplateName xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">BlogCommentsForm</TemplateName>
  <FormType xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">8</FormType>
  <ViewFlag xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">1048576</ViewFlag>
</WebPart>
</WebPartPages:ListFormWebPart>

Open in new window

Author

Commented:
will test solution on environment.

Commented:
Let us know the results.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial