Blog Summary Customisation

Topics: Customizing Orchard, General
May 12, 2011 at 11:04 AM
Edited May 12, 2011 at 11:04 AM

Hi,

Trying to remove the facebook like part from the summary listing of blog items... how would i achieve this? 

May 12, 2011 at 11:36 AM

What do you mean by "facebook like part"?

If you find out the shape name, you can add this in Placement.info:

<Match DisplayType="Summary">
    <Place Parts_Shape_Name="-" />
</Match>
The "-" is a special null zone that makes things disappear :)

May 14, 2011 at 9:56 AM

Thanks for the reply,

So i have gone into Modules/Orchard.Blogs and edited the Placement.Info to look like this

    <Match DisplayType="Summary">
            <Place Parts_Blogs_Blog_Description="Content:before"
                   Parts_Blogs_Blog_BlogPostCount="Meta:3"/>
          <Place Parts_Like_Edit="-" />
          <Place Parts_Like="-" />

 
The Part/Shape is the Facebok Module which you can download from Orchard Site and from looking at the modules own placement.info it references Parts_Like
 
However for some reason this wont make the facebook part dissapear from the summary listings...

 

 

May 14, 2011 at 10:02 AM

Ahh... i was backwards ... i needed to edit the placement.info that is for the Facebook Module. Not for the blogs..

May 14, 2011 at 10:38 AM

You shouldn't be editing anything in other people's modules. You need to create your own theme, and add a Placement.info there to make any customizations. Changes you make in other modules will most likely get overwritten when you want to upgrade that module later on!