Try our conversational search powered by Generative AI!

Custom view for blocks with no renderer


Is it possible to have a custom view for blocks that does not have a renderer? Instead of the default "No renderer"-message I want to show a more friendly message to the edtiros when this happens.

Oct 17, 2016 16:09

The "no renderer found for..:" is a feature in the alloy site, and can easily be customized. For instance, you could modify the PreviewController to return a view of your choice

Oct 17, 2016 21:20

With the preview controller I can only change view when previewing a specifc block. But if look at a page in edit mode that contains a block that does not have a renderer the message 'The '[BLOCKNAME]' can not be displayed' appears. I can not find where I can change this message.

Oct 20, 2016 20:43

Ah, I understand. 
I'm not sure you can add your own view very easily, but you could change the text by adding a new translation value:

        <missingrenderer>{0} is not possible to look at, dude!</missingrenderer>
Oct 20, 2016 21:20
* 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.