I'm having a problem with View: block visibility settings Using Drupal 7.14 and creating a Zen subtheme. Whenever I try creating a view block to be displayed on the front page only, it will display on all pages. In the block's configuration, I set "Show block on specific pages" to "Only the listed pages", and in the text area put ‹front›. It will work all other themes: Zen core, Bartik, Bartik subtheme, with the block only displayed on the homepage, but not my zen subtheme.

I created an Zen sub-theme per the instructions, and everything went smoothly. But the block displayed on all of the pages, not just the homepage. It ignores any other visibility setting.

I tried a non-view block, and the page visibility settings worked fine.

I do not have this problem with my Bartik sub-theme. All of the test blocks worked as expected (i.e., displayed only on the homepage).

What is it about Zen's subtheming that could cause it to ignore the page-specificity settings for Views Slideshow blocks?

This problem is identical to http://drupal.org/node/1632966#comment-6228260. If it is not Zen, what do I need to fix?

Comments

johnalbin’s picture

Version: 7.x-5.1 » 7.x-5.x-dev
Status: Active » Closed (cannot reproduce)

Just like in that AdaptiveTheme issue, I can't reproduce this problem either.

ronnienorwood’s picture

Issue summary: View changes

My two cents on this bug report. I was converting a d6 site to d7 using the drush site-upgrade command and had to do a lot of things manually after it completed. I had the same kind of issue on the resulting d7 site but it wasn't theme-specific. The theme was set to garland and I tried bartik also. I am on the latest version, which is 7.37. It happened on all blocks, not just the blocks generated by views.

I couldn't figure out why it was behaving this way but what I ended up doing for each block was cutting the values out of the 'show block on specific pages' box, saving the block, going back in, pasting the values back in, saving the block again, and they seem to work as expected now. This could be quite tedious if you have a ton of blocks but I only had a few.

MarcelloCerruti’s picture

Hi,
same issue migranting a site from D6 to D7 (7.37) with migrate_d2d.
the workaround written by ronnienorwood works fine.
It's not a problem of zen I use a different theme