When it comes to blocks specifically created by ddblock, Domain block seems to exclude these blocks from display. I mean when you click on the checkbox that a particular ddblock should be displayed on a particular domain, domain blocks fails to register this change after saving the block. Most of the time, I had to manually modify the domain_blocks table.

Also, this problem affects only Advanced ddblock slideshows.

Comments

drecute’s picture

In addition, domain blocks also fails to display on all domains if no checkbox is checked.

nonsie’s picture

Status: Active » Postponed (maintainer needs more info)

Please describe how you set up your blocks. In 6.x-1.2 a module defined block that is moved into a region automatically gets domain_site grant. Other blocks use whatever grant was used when creating that block. If no specific domains were selected, domain_site grant is assigned.

drecute’s picture

I don't really understand what you mean by describing how I setup blocks. But here is what I understand about your question and how I have set things up.

1. I run a multisite using DA. A dev and a live site. The live site is placed offline. All contents are published to all domain using the domain content module. And all blocks are expected to be placed on all domains using domain blocks. Meaning that i repeat whatever I have in dev on the live site without any differences.

2. I setup a block using ddblock module, which is used to create advanced image slideshows. Whenever I get to configure the domain visibility of this block, the visibility settings don't get saved. I mean after checking the domain visibility checkboxes, when I configure this block again, I find these checkboxes unchecked.

3. The description on the domain visibility checkboxes says that if no checkbox is checked, block will be visible on a domain. I'm sorry, but this is not the case. Blocks don't get visible at all unless checkboxes are checked. Also from my understanding about how domain blocks works, on the first time domain blocks module is enabled, all domain blocks visibility changes to zero. Meaning that no block is visible on all domains.

nonsie’s picture

I'm afraid you are not quite correct about the way Domain Blocks works. Once this module is enabled all previously enabled blocks are given domain_site grant eg. they are visible on all domains. When a module defined block is moved from disabled to an existing region it's given domain_site grant as well.

Previous Domain Blocks version required explicitly setting block visibility settings. 6.x-1.2 version is now compatible with core behavior - an enabled block appears on all domains unless an exception is made (specific domain/domains are selected in block configuration settings).

Do user created blocks have the correct visibility eg. when you create a block without checking any check boxes and move it to a region does it show up on all domains?

drecute’s picture

Sorry for the misunderstanding.

Q: when you create a block without checking any check boxes and move it to a region does it show up on all domains?
Ans: No. Until when i have to check the checkboxes.

drecute’s picture

Ok. I now have all problems resolved. I had to disable and re-enable domain blocks module. Also, I ran update.php to get this resolved.

nonsie’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.