Too Many Blocks and Not Enough Regions

Est. Reading Time: 1 minute

Miral (a fellow developer) was asking for help on an issue involving the need to have 2 different blocks on one region. We needed a News Index Block but we also needed an Events Index Block for the same region. My first assumption was no and that you’ll need to do whatever needs to be done in order to make it 2 separate regions and add the separate blocks. Then he asked me if we couldn’t use the method listed under FAQ’s on a Hannon Hill page (http://www.hannonhill.com/kb/Block/).

The only thing I could say was wow I guess you could! I also said that he should probably hide it from the end user so that it cannot get changed. To do this you would use the Restrict to group’s field under ‘Advanced’ in the data definition.

The more I thought about it the more amazing of an idea it is to me. I know personally I’ve come across this issue before and simply added a region to accommodate the extra block but knowing this option is available now I might do things differently. Though both methods are equally useful I think this method could come in extremely handy when it’s a situation that you cannot add another region.