This project is read-only.

Place comment number and tags on the same line

Topics: Customizing Orchard
Apr 3, 2012 at 1:41 PM

Hello everyone,

I'd like to customize a orchard blog. I need to have something like that :

Just bellow the title :

Posted in Lorem ipsum | 12 commentaires »

For now I've the tag correctly placed but I don't know how to move the number of comment there. Be aware that the date is in another place in the design and should not appear there.

Any idea?

Apr 3, 2012 at 3:03 PM

Use of your Theme :

By default, the shape is displayed in Meta :

<Match DisplayType="Summary">       
<Place Parts_Comments_Count="Meta:5" />  

Put it in Header, after Tags (Header:after.8) :  

<Match DisplayType="Summary">       
<Place Parts_Comments_Count="Header:after.8" />  

You can also enable the 'Shape Tracing Tool' to understand how placement works.