Blocks and Source element

  • 51 Views
  • Last Post 20 August 2019
  • Topic Is Solved
sungold posted this 12 August 2019

Can anyone suggest, how to ignore one Block in flexilayout.

Example i have 3 alternative Searchelemnts for one Block.. However, one source element was not available to link for layout in Blocks.

\Can anyone provide sample Expression script ti ignore source element.

MikeD posted this 20 August 2019

If non-repeating, in the expression section of your block, use the following to nullify the block:

isnull = true;

outputregion = some_other_non-repeating-element.region;

Of course you'll need to add the appropriate conditions before and/or after but that should give you the desired result.

  • Liked by
  • sungold
Close