Try our conversational search powered by Generative AI!

Custom rendering of ContentArea with different block types

Vote:
 

Hi everyone, 

so i need to make custom rendering of ContentArea which can have different types of blocks. For example, for one type of block i need to add class "l-span-M6", for other type "l-span-M12". ChildrenCssClass = "l-span-S12" here won't work, as i will need different classes for different type of blocks. I can't add it to passed model itself as it must be in that wrapping <div>. Any ideas?

#77301
Nov 15, 2013 9:49
Vote:
 

Have you looked at the Alloy tech sample site? They´ve done something similar there.

Frederik

#77353
Nov 17, 2013 18:18
Vote:
 

Nope, will look then. Thanks!

#77363
Nov 18, 2013 7:20
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.