Sort methods

Topics: Customizing Orchard
Dec 12, 2011 at 2:09 PM


I want sort my articles in different criteria. Can i have some tips for it

1. Most Popular

2. Latest articles


How can i do this



Dec 12, 2011 at 7:23 PM

For latest content there is this:

For most popular, this may help building the list:

Dec 13, 2011 at 3:29 PM

I want give user to Article searching facility,  Search  Tile and body text and list articles which has search worlds

Whats best way to do that?

Dec 13, 2011 at 4:19 PM

Dec 13, 2011 at 5:15 PM


I have a added search box to my pages, When i search there is result like this

There is one result

But i cant see any link, Just only above message. Why that?



Dec 13, 2011 at 6:45 PM

I don't know. Maybe that result does not have summary templates, or they are empty, or it has no data or you overrode something that you shouldn't have or who knows what else? Enable shape tracing, or attach a debugger.

Dec 14, 2011 at 6:48 AM


I have create list view inside my view folder. Then both searching and reason content modules are working, This is my view/List.cshtml

@using Orchard.Core.Contents.ViewModels;
@using Orchard.Utility.Extensions;

@using Orchard.DisplayManagement.Shapes;
    var list = Model;
    var items = list.Items;
    var count = items.Count;   
    <table class="items">  

    @foreach (var item in items)

                 @Html.ActionLink((string)item.Title, "Item",  new { item.ContentItem.Id })              

I can see list of reason articles, When i click one of them Its searching item in following place


I want make find it following url



How can i do that?




Dec 16, 2011 at 4:16 AM

I have created video for this