This project is read-only.

Date that shows on Blog?

Topics: Customizing Orchard, General, Writing modules, Writing themes
Feb 16, 2013 at 2:39 AM

Where does the Date come from on a blog? I was thinking it would come from the Create On field for each Blog Article? This isn't the case, is there a way to edit the Blog Date?

TJ Havens
Feb 16, 2013 at 2:41 AM
They come from the Common part (it's the creation date). What makes you think it's not the case? You can make it editable by editing the content type and opening the settings for the Common part.
Feb 16, 2013 at 3:18 AM
Where do I do that? Edit the Common Part?
Feb 16, 2013 at 3:23 AM
Ok, I'm using a custom template for the Date: Model.ContentPart.PublishedUtc.ToString, it says Published how to change this to Created On?
Feb 16, 2013 at 3:25 AM
k, I used: <div class="published">@Model.ContentPart.CreatedUtc.ToString("MMM dd yyy")</div> and now it works....