This project is read-only.

How to remove date in default template

Topics: Customizing Orchard
Feb 23, 2011 at 12:42 PM



I am very new to orchard. But I start to love it. But for unknown reasons I can not understand the concept behind it at the moment.

I am using the default template. But when I create a page on the top is a date when page was created. How to put them to the bottom or how to remove this date?


I got he intention from Betrand how to do this with tag. But I could not do the same for date.

Please advise how to put date to the bottom on the page or remove if fully from page.



Feb 23, 2011 at 2:40 PM


Feb 23, 2011 at 3:06 PM

Hi Jonny


Thanks, I read this.

But could not find to order the date to the bottom. Also I am unsure if I set the

Header1 = display:none

If other header1 items would be unvisible.


If you can tell me where to find the "date" tag or how it is called it would be very nice from you.

Then I can set this like the tags:

<Place Parts_Tags_ShowTags="Footer:0" />

Feb 23, 2011 at 7:59 PM

Here's how I'm doing it on my own blog... In placement, I have the following:

    <Match DisplayType="Summary">
        <Place Parts_Tags_ShowTags="Footer:0" />
        <Place Parts_Common_Metadata_Summary="Footer:1"/>
        <Place Parts_Comments_Count="Footer:2" />
    <Match DisplayType="Detail" ContentType="BlogPost">
        <Place Parts_Common_Metadata="Content:9"/>
        <Place Parts_Tags_ShowTags="Content:8.2" />
    <Match DisplayType="Detail" ContentType="Page">
        <Place Parts_Common_Metadata="-"/>
        <Place Parts_Tags_ShowTags="-" />

And I also have a template override that you may or may not need for Parts.Common.Metadata.Summary.cshtml:

<span class="published">@Display.PublishedState(dateTimeUtc: Model.ContentPart.PublishedUtc)</span>