Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I recently created a blog site and posted few blog posts but then I realized that "created by" column is showing on the item.

I tried to check what page layout a post is using but I simple found nothing. I then realised that a post appears as some form of a web part, so I quickly opened the web part properties thinking that perhpas this use content query but realized there is nothing much you can do about the web part properties.

I run 1000 searches on the net and I found nothing.

If anyone knows how to remove this column, please I would really appreciate your help on this one.

share|improve this question
    
Why is it a bad thing that users see who drafted the blog post? –  PirateEric Jan 12 '12 at 14:17
    
Lets just say I have a P.A who posts blogs on my behalf. –  Sepaka Jan 13 '12 at 5:17

2 Answers 2

up vote 4 down vote accepted

The blog post rendered by xslt transformation. In this case you should change XSL template for your posts in 14\TEMPLATE\LAYOUTS\XSL folder. You can use this post as start point to understand how does it work.

share|improve this answer
    
Please, keep in mind that changes in 14\TEMPLATE\LAYOUTS\XSL folder are not supported by Microsoft. For example, these files could be rewritten during applying Cumulative Update or Service Pack. –  Andrey Markeev Jan 12 '12 at 16:19
    
It's true, in the post that I provided the XSL file is copied and renaimed. Then the path to this file are set in web part through SPD. Also you should keep in mind that if you cahnge blog.xsl this changes will be applyed to all sites. it is not a good approach. –  Alexander Jan 12 '12 at 17:25

I recently ran into the same requirement for a company Blog where several authors are posting articles but the visitors should not see the author name.

The simple approach is to use the following CSS, e.g. add it to your masterpage, to hide the author:

.ms-rightblogpost div.ms-PostFooter span.ms-postfootercolor:first-child,
.ms-rightblogpost div.ms-PostFooter nobr
{
    display: none;
}
.ms-rightblogpost div.ms-PostFooter span.ms-postfootercolor
{
    margin-left: -6px;
}

That worked for me, but if you want to remove it server-side a more advanced solution would be to create a copy of the file blog.xsl (located at 14\template\layouts\xsl) and point the Blog WebPart to your custom customblog.xsl and modify that file.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.