Placement for fields and part within Widget

Topics: Customizing Orchard, Writing modules
Nov 12, 2012 at 12:10 AM

Dear,

I'm create a new widget, which render list of blog posts, and each blog post has thumbnail part and the title, but the rendering order will change by the name of the widget, maybe the thumbnail first, or the title, or hide the thumbnail.

can I do this by placement.info, or I must create alternates in my theme, and how?

Thanks 

Coordinator
Nov 12, 2012 at 1:15 AM

The name of the widget, or could it be its display type?

Nov 12, 2012 at 1:20 AM

the technical name provided by user, example:

Widget : RecentBlogPosts

Technical Name : SliderList

Coordinator
Nov 12, 2012 at 2:14 AM

You could make an alternate from a shape table provider.

Nov 12, 2012 at 11:04 AM

can you provide an example to do this.

Thanks

Coordinator
Nov 17, 2012 at 3:53 AM

Sure. http://weblogs.asp.net/bleroy/archive/2011/01/10/orchard-shapeshifting.aspx