One of the only problems with setting up new sites with Domain Access is having to go through each block and ticking the domains it should be enabled on. This can be an arduous task when you have 21 blocks and 18 domains...

I'd therefore like to request a new user interface for configuring domain blocks settings, something similar to the User Permissions in Drupal core (i.e. a page listing all blocks and all domains in a matrix-style layout). I think this'll make things a bit easier, especially when not all blocks are to be shown on all domains...

Comments

Anonymous’s picture

Title: UI similar to User Permissions » Batch editing UI
Version: 6.x-1.1 » 6.x-1.x-dev

Might it be possible to implement hook_domainbatch()...?

nonsie’s picture

Assigned: Unassigned » nonsie
Status: Active » Closed (works as designed)

After looking into a bit user permissions style page will not do. It might work when you have <10 domains or blocks but with more blocks and domains it simply will not fir on a page.

hook_domainbatch is one way to go however blocks are theme specific. Should batch assignment take into account the theme for the domain currently being edited or current theme? What if there's more than one theme (admin + smth else).

If someone can propose a good way that also works for large sites, I'm willing to reconsider it (I definitely see the value in it) but I'd rather not create another black hole for debugging at this time.