Download & Extend

Handling of large number of NodeBlocks

Project:Region Manager
Version:6.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Use a Content-Type filter + Javascript to limit displayed list of Unallocated blocks.

With NoteBlock enabled, the list of unallocated blocks tend to grow rapidly.
One of the failings of the Blocks page is exactly this - it start timing out on loading.

Proposed Solution:
Block Type / Content-Type filter(s) on Blocks (linked to NodeBlock) to limit list of presented blocks.
Javascript: On change, auto-refresh the list to the new type.
Fallback: Apply Button

This will greatly assist in handling bigger block sets - a sorely needed feature for Blocks.

Thanks again for this great module!

Comments

#1

This is definitely on my to do list! I'd like to re-work the UI to only show nodeblocks on the page in which it was created. Then on each nodeblock under 'configure' there could be a checkbox to 'expose this block to other pages', which would make it so that that nodeblock would show on the region manager for other pages. Thoughts on that?

#2

Nice idea.

I however find that often I have a nodeblock display on all pages, except some (Display all pages Except rule; e.g. Menu, advert-type blocks).
Maybe use a View/Query to return a list of matching blocks: Block-type and/or Keyword Search and/or Create/Update Date-time.

Block_Edit is helpful to allow quick-edit access to Block Content/Configure page - I see synergy with that module.

There are 2 distinct use-cases:
1. Display Block only if URL is...
2. Display Block always, unless URL is...

The challenges are: Loading Performance + Data-mining the blocks

Different Admin Modes:
1. Manage display of an active Block (active and/or URL filter)
Maybe have a Tab on the Block Configure page to display available Areas/Theme, so can move the block between them, per Theme

2. Manage display of an inactive Block (find it 1st, then manage it)
Need a Search function to return a sub-set to select from, then Configure - Areas tab (as 1 above)

3. Manage Active Blocks displayed for a Page/URL Pattern (filter on Page/URL)
3.1 Present a filtered list of Blocks + Search function to find & add to the sub-set for the page, then Configure - Areas tab (as 1 above)
3.2 Bulk-manage blocks for a page - variation on 3, where area is selected for a theme and assigned to all selected blocks

4. A useful function would be putting a block in "Move" Mode/Having an on-hover Move handle, to drag it to a different area on the page.
A pop-up window/prompt to confirm display-rule would then be helpful.

#3

I've recently stumbled apon the following Modules which you might leverage as part of the overall solution:

http://drupal.org/project/views_block - Enable Block in Views + Supports Views Bulk Operations (http://drupal.org/project/views_bulk_operationson)

http://drupal.org/project/block_assign - Alt way to manage Blocks, providing global overview/control

http://drupal.org/project/blockqueue - Ordering queue per Area (uses a block drop-down list; simple, but very useful)

One component I haven't seen is the ability to Manage the Region for a Block on the Node Edit page (enhancement of nodeblock?)

Thank You for this great module ;)

nobody click here