I have multiple embedded contents merged together in one list (lists of testimonials, combined to form one list) and I just want randomise the order of the files. heres my current code.
@using umbraco.MacroEngines; @{ foreach(var testamonial in Model.Children) { var itemsList = testamonial.customerTestimonials; <ul> @foreach(var item in itemsList) { var customerItem = item.customer.InnerText; var testimonItem = item.testimonial.InnerText;
Sorting Multiple Embedded Contents randomly
I have multiple embedded contents merged together in one list (lists of testimonials, combined to form one list) and I just want randomise the order of the files. heres my current code.
I manage to develop the solution.
is working on a reply...