Using a fresh install of Drupal 7.14, and leaving the public-facing theme to be Bartik, I created a view block (generated by the Views Slideshow module). The block is intended only to be shown on the homepage, so 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 worked as expected, with the block only displayed on the homepage.

I created an AdaptiveTheme sub-theme per the instructions, and everything went smoothly. But I was astonished to see the block displayed on all of the pages, not just the homepage. Changing the radio button to "All pages except those listed" and leaving "<front>", did not change the results at all. I then set it to "Pages on which this PHP code returns TRUE", and put "<?php return FALSE; ?>" in the text area; yet still the block is displayed on all the pages.

I changed the theme back to Bartik, and the problem disappeared. I changed it back to the sub-theme, and the problem returned. I changed the theme to AT Core, and the problem disappeared. So I compared the .info files for the core theme and subtheme, and the only differences are the name and description values in the "Theme Information" section at the top. All of the regions are still listed in the "Regions" section.

Next I tried a non-view block, and the page-specificity settings worked fine (i.e., the block is displayed only on the homepage). I then tried a view block not generated by the Views Slideshow module, and obtained the same results.

Speculating that the problem might be with the Views Slideshow module and not AdaptiveTheme's subtheming, I tried a Bartik sub-theme. All of the test blocks worked as expected (i.e., displayed only on the homepage).

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

Comments

Jeff Burnz’s picture

Category: bug » support
Status: Active » Closed (cannot reproduce)

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

Nothing. I don't know what is going on with your site, but this is nothing to do with the theme - it does not control block visibility at all in this version of the theme (7.x-2.x), 7.x-3.x has some tricky stuff for handling block regions in mobile, that's about it, but it never ever messes with the block visibility, anywhere, at all.

Tenchu2525’s picture

I'm having the exact same problem with a Zen subtheme. It works in Bartik, Stock Zen, but not a subtheme.

If it is not AT or Zen, what component needs to be fixed?

JohnAlbin’s picture

Issue summary: View changes

Fixed refernces to <front>