This project is read-only.

Alternate being ignored

Topics: Writing themes
Sep 6, 2012 at 5:03 AM
Edited Sep 6, 2012 at 5:07 AM

I build a projection widget

The name of the alternate that Shape Tracer created for me (and says that it's using) is:


But even if I empty this cshtml or modify it; it looks like Orchard is still not using the alternate.

I need it to only use this alternate for this projection; is there another alternate that I could use that tracer is not telling me?

NOTE: Url Alternates and Widget Alternates are enabled

Widget Title: Measure Descriptions

Widget Name: measure-list-atc

Projection Title: Measure Descriptions

Query Title: Measure Descriptions Query - ATC

Filter Title: MeasureDescriptionsFilter-ATC

Layout Title: MeasureDescriptionsLayout-ATC

Any help would be appreciated.


Sep 12, 2012 at 9:31 PM

I think it's the dashes in the widget name.

Sep 16, 2012 at 6:21 PM

I had the same issue -- removing the dashes from the name fixed it.  It would be nice to have dashes in the "technical" widget name though, if only to make the css class names be formatted in a more standard fashion (".widget-name" vs ".WidgetName")

Sep 18, 2012 at 7:26 PM


I dislike that the technical name (could be used in CSS etc) must be UNIQUE! many people reuse the same type of object across pages; I should be allowed to use the same technical name.