We help IT Professionals succeed at work.

How to Customize the Add Comment 'Items on this list require content approval...' notification in a Blog?

Synocus
Synocus asked
on
WSS 3.0 with blog subsite, looking at the comments of a blog post:

If content approval is turned on, the Add Comment section displays a fairly ugly notification. Is there any way I can customize that section through e.g. CSS or SPDesigner?

I'd like to change at least the text, and preferably the yellow exclamation image, and also the background if possible.
exchange.png
Comment
Watch Question

Author

Commented:
I already tried the SPDesigner route. The webpart is fairly hard coded, and as far as I can tell I can't change anything in it. Here's the code it represents, as well as an image of it in SPD:




  New Comment
  None
 
  true
  3
  Normal
 
 
  true
  true
  true
  true
  true
  true
  true
 
 
  Modeless
  Default
 
  Cannot import this Web Part.
 
 
  true
  00000000-0000-0000-0000-000000000000
  g_e9afa3a6_68f7_43e3_a040_14a31e125ac8
  {2B6D502F-9F6A-4E29-A3B5-27FB4E2B21D6}
  Comments
  true
  0
  New
  true
  BlogCommentsForm
  8
  0



exchange.png
Commented:
I actually found a way:

You can hide the warning with this CSS snippet:

.ms-informationbar {
  display: none;
}

Then edit the page, add a content editor web part just below the 'Add Comment' text and customize as much as you want!