Any example Orchard Blogs out there?

Topics: General
Jun 8, 2011 at 11:04 AM

Hi all,


I'm new to Orchard and am trying out the blog with the default Orchard Theme.

It doesn't look too great now though and I wonder if there are any example Orchard Blogs out there where I can get styling inspiration from. Could anyone share some examples?


I'm also wondering how this blog module could be customised.

For instance, one of the things that bother me is that the blog list overview shows all blog posts truncated to 200 characters or so with the "more" option to read the blog in full.

Actually, I'd rather have my latest blog entry shown in full with first five older ones below it (and the full list of blog post titles in an aside panel).

Is this something that can be done with Orchard?


Thanks in advance for you suggestions !

Jun 8, 2011 at 11:17 AM

Bertrand's blog has covered a lot of the scenarios you're asking about: - it's well worth a read!

Jun 8, 2011 at 11:34 AM

Thanks, the Orchard list customization: first item template seems to fit my needs... looking forward to try it out this evening !

Jun 8, 2011 at 12:47 PM

There's also an older post or screencast where he customises the "more" display and how the brief version is generated.

Jun 8, 2011 at 5:48 PM

Right, here is my Parts.Common.Body.Summary.cshtml:

    Orchard.ContentManagement.ContentItem contentItem = Model.ContentPart.ContentItem;
    var bodyHtml = Model.Html.ToString();
    var more = bodyHtml.IndexOf("<!--more-->");
    if (more != -1) {
        bodyHtml = bodyHtml.Substring(0, more);
    else {
        var firstP = bodyHtml.IndexOf("<p>");
        var firstSlashP = bodyHtml.IndexOf("</p>");
        if (firstP >=0 && firstSlashP > firstP) {
            bodyHtml = bodyHtml.Substring(firstP, firstSlashP + 4 - firstP);
    var body = new HtmlString(bodyHtml); 
<p>@Html.ItemDisplayLink(T("Read more...").ToString(), contentItem)</p>

Examples of Orchard blogs:

And lots others, apologies about anyone I forgot.