Try our conversational search powered by Generative AI!

Custom view for blocks with no renderer

Vote:
 

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.

#162821
Oct 17, 2016 16:09
Vote:
 

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

#162833
Oct 17, 2016 21:20
Vote:
 

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.

#163458
Oct 20, 2016 20:43
Vote:
 

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:

    <edit>
      <content>
        <missingrenderer>{0} is not possible to look at, dude!</missingrenderer>
      </content>
    </edit>
#163459
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.