SaaS CMS has officially launched! Learn more now.

Limiting display options with tags


In Alloy demo site, in DisplayRegistryInitialization 3 display options has been added to ServiceLocator.Current which tells Episerver to show those 3 options for all blocks. However, for some blocks we only have 1 or 2 of those options available, like on JumbotronBlock (look at TemplateCoordinator). 

As a result, the editor can select  an unavailable option (like "narrow" for JumbotronBlock) and end up with a "The 'JumbotronBlock' can not be displayed" message not knowing what is worng. 

Is there any way to limit display options for each individual block type?

Feb 07, 2017 9:56

Thanks Yauheni,

It is exactly what I want

Edited, Feb 07, 2017 10:39

Why cant I mark your post as an answer? :|

Feb 07, 2017 10:40
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.