I've just experimented with Block Region; while the block region and visibility settings were configured correctly across the themes, it looks like all entries under "Page specific visibility settings" were lost. For example, I use Show block on specific pages: Show on every page except the listed pages and under the listed pages entries such as "blog" These worked correctly before applying blockregion. But afterwards, all these blocks appeared independently of the options set there. Strangely enough, these settings weren't erased, they were just ignored: when I edited such a block and simply saved it without any changes, the visibility was correct again.

Any ideas?

Comments

dalad’s picture

Status: Active » Postponed (maintainer needs more info)

Hi. Sorry for the late response.
I can't see the problem you are describing, on my test site the module seem to work properly for region and settings.
Can you describe the exact procedure to replicate the bug? Also, would you post the result of the query SELECT * FROM {blocks} WHERE module = '{module_name}' AND delta = {block_delta} for the problematic block?

rene_w’s picture

This is what happened in my case:

  1. Take a block and edit the setting for Show block on specific pages. For example, I had several blocks that were not shown on the "blog" page. So select Show on every page except the listed pages and in the box enter "blog". Save block.
  2. Go to the "/blog" page. The block should disappear.
  3. Apply Block Region.
  4. Now go the the "/blog" page again. The block you edited above suddenly appears on this page.
  5. When editing the block again, the settings were still as defined above (i.e., don't show on selected pages, in particular "blog").
  6. Save the block again without any changes.
  7. Go again to the "/blog" page, and now the block is not shown.
  8. I've tried this several times, and it happend each time right after running Block Region.

    I'll run the SQL query when I have a chance to try it again---can't really touch the production website at the moment.

dalad’s picture

Version: 6.x-1.2 » 6.x-2.0
Status: Postponed (maintainer needs more info) » Fixed

Fixed in version 2.0

Thanks for pointing this out!

Status: Fixed » Closed (fixed)

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

rene_w’s picture

Status: Closed (fixed) » Fixed

(Adding this here since it might be the same problem):

I noticed that, just like for the visibility settings, the "Block Title" (where different from the default title) was lost (i.e., I had to open the block config and save it to get the custom title back).

Not sure if your patch fixes that as well, if yes, just disregard this message...

dalad’s picture

Version: 6.x-2.0 » 6.x-2.1
Status: Fixed » Closed (fixed)

Yes, page visibility, the title and all the settings avaiable for a block will be replicated in other themes since 6.x-2.x.