Hide "no renderer" message in Edit Mode


Hi guys,

Is it possible to hide the "There is no renderer..." message when in "Block Preview" mode, in the EPiServer CMS? I have a block that can only be placed in content areas with certain tags and for those content areas where it cannot be previewed I don't wish to show a "No renderer" message in On-Page edit mode. I'm talking about when you edit a block "in-page" and it displays the "Block Preview" page with all the different kinds of renderer.

I notice the Alloy site does it well, but I'm now sure how/where.

Many thanks,

Oct 28, 2013 13:25

I sorted this in the end, by creating a custom "ContentArea" model that inherts the standard EPiServer ContentArea. I then altered the rendering of it so that in "Page Preview" mode it won't output the "No renderer" message :-)

Oct 28, 2013 19:22
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.