World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
I solved the problem. Turns out this had nothing to do with blocks, I had just forgotten to send the model to the parent view.
I cannot get my blocks to render in an EPiServer 7.14 MVC site. I can add them to the ContentArea and they render as expected, but as soon as I publish the page they stop rendering. All that outputs to the page (in both edit mode and when visiting the site as usual) is an empty div with a lot of whitespace. If I add another block to the ContentArea they all render again - until I publish the page.
The block view:
I am rendering the ContentArea to the page like this:
The BlockController:
And finally the BlockData:
Appreciate any and all answers or prods in the right direction.