November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi Goran
I would check how things are set up in the Alloy sample site, specifically the OnTemplateResolved method of Template coordinator. You could remove a rendering for a specific block if args.Tags is for Preview.
David
Thank you David,
I did inverted thing from what was in Alloy sample site for the container pages. If block implements my interface and the template type is of block preview controller type, block gets selected template set to null.
Worked nicely.
I am working on a solution that has couple of different layouts. Previewing of the blocks was non-existent. Client wanted to introduce blocks with data charts and wanted to preview those charts before publishing the containg page.
All the examples of the block previewing I found so far, entail that all blocks get the preview. This poses a problem becuse blocks get rendered differently in a different layouts and that confuses the editors.
Is there any way of bypassing preview controller if block is not of a specific type or to force all properies view instead?