I am using the latest version of Orchard and have created a projection widget of three articles. I would like to display them in source terms directly after eachother:
<article>content</article>
<article>content</article>
<article>content</article>
i.e. not contained in a list
<ul>
<li>
<article>content</article>
</li>
<li>
<article>content</article>
</li>
</ul>
How can I strip out the list tags but leave the articles? I don't know how to edit the Model.List
in the ProjectionPart.cshtml, if this is even the right file to be editing!?
I would really appreciate any help anyone could give me?
You can override the default behavior in your theme. As it commented Bertrand Le Roy you can find more info on these posts:
http://weblogs.asp.net/bleroy/archive/2011/03/27/taking-over-list-rendering-in-orchard.aspx
http://weblogs.asp.net/bleroy/archive/2011/05/23/orchard-list-customization-first-item-template.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With