It would be nice if this module had an option to prevent a block from being rendered twice in given region. I can see people who don't understand what's set up in the standard block assignment interface accidentally doing this. I'm happy to write a patch to add this functionality, but I wanted to check to see if you are interested in it first.

CommentFileSizeAuthor
#3 multi_display.patch2.91 KBgloaguen

Comments

nvanhove’s picture

I can see some usecases where I want a block to be displayed multiple times on 1 page.
So my suggestion would be to create a node-type setting.

On a node, when a block is added using NLB when it was already added using Blocks Administration page, I think the block from NLB should be used, and not the main block.
This means that on the Blocks Administration page, I can select Block X to be displayed always below Block Y. Now, using NLB, we can create a node where Block Y is displayed below block X.

That would be cool :)

skilip’s picture

Can anyone create a patch for this?

gloaguen’s picture

Status: Active » Needs review
StatusFileSize
new2.91 KB

I have created a patch for this, but I'm not sure if my solution is the best. Please review my code.

gloaguen’s picture

Assigned: Unassigned » gloaguen
Status: Needs review » Closed (fixed)

This is now added in version 6.x-1.1

  • Commit 6a86e54 on master, 7.x-2.x by gloaguen:
    Issue #811310 by nvanhove: Added setting for multi blocks