Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Hi!
We upgraded our solution to CMS 9 update 129 and after that our displayoptions for Blocks are sorted in a changed way.
Before upgrading the displayOptions were sorted in the same way as they wre added (the way we want), like this:
var options = ServiceLocator.Current.GetInstance();
options
.Add("full", "/displayoptions/full", SiteConstants.ContentAreaTags.FullWidth, "1", "epi-icon__layout--full")
.Add("wide", "/displayoptions/wide", SiteConstants.ContentAreaTags.TwoThirdsWidth, "2", "epi-icon__layout--two-thirds")
.Add("half", "/displayoptions/half", SiteConstants.ContentAreaTags.HalfWidth, "3", "epi-icon__layout--half")
.Add("narrow", "/displayoptions/narrow", SiteConstants.ContentAreaTags.OneThirdWidth, "4", "epi-icon__layout--one-third")
.Add("onequarter", "/displayoptions/onequarter", SiteConstants.ContentAreaTags.OneQuarterWidth, "5", "epi-icon__layout--one-quarter");
After the upgrade they are randomly(?) sorted in edit-view. In local environment as wide, half, narrow, full, onequarter.
In staging environment as onequarter, full, wide, narrow, half.
How can I get control over how the Blocks displayoptions are presented to our editors in edit view?
Best regards Kristian.