Published on:May 24, 2018
Views: 1349
Number of votes: 6
Average rating:

Correction to no wrappers content area renderer

Referring to Krzysztof Morcinek's blog post which is used quite a lot in the epi world, thought to share a small correction to it.

The below piece of code from the blog post renders all the items while you're in edit mode which doesn't allow users to test personalized content.

? contentArea.Contents
: contentArea.FilteredContents

So, this piece of code can be safely replaced with the below which will just render the same items rendered by the out of the box content area renderer which allows users to test how personalized content looks like.

Image Untitled.png
May 24, 2018

( By valdis, 5/24/2018 11:12:18 AM)

btw, just a side note - this lib ( does the same thing and lot more. maybe worth to checkout and reduce code on project's side :)

Please login to comment.