Rewrite contentpart shape included in widget

Topics: Writing modules, Writing themes
Dec 22, 2012 at 6:13 AM
Edited Dec 22, 2012 at 6:20 AM

Hello, EveryOne.

Please help me with my problem. I have news on site. News has 3 different design shapes.

1) Small News - It is on the projection widget list.

 it has 100x100 image and 100 symbols body text

2) Medium News - It is on the projection page list ( without widget)

 it has 200x200 image and 250 symbols body text

3) Large News - It is on the Detail page

it has 400x400 image and not truncated  body text


How can I change shapes part for case when content item into widget?

I tried use placement info

 <Match ContentType="ProjectionWidget">

      <Place Fields_Contrib_ImageWithThrumbs="Content:before;Alternate= Fields_Contrib_ImageWithThrumbs_Widget"/>


I tried use alternates templates


Without any result.

I can overide shape only use alternate tamplate with url. Yes I can use this alternate, but I want know "Can I overwrite shape part into Projection Widget List"

Shape Tracer show that I can overwrite List Shape like


But it doesn't give advise how ovirwrite any part that in this List.

I have idea. Maybe override Medium News on list page by url alternate, because this page only in one place, and don't change widget part shapes. But it seem like a crutch. Do we realy can't overwrite part shape into projection widget?


Any suggestion?

Dec 23, 2012 at 7:56 AM

Perhaps you could define a new Layout and specify a custom DisplayType for your Query and use that Query + Layout in your projection page or widget.