I have an issue with the Global:Result Summary view in the Header. I added the following to the Header section my view: <h2>@total Locations! Locate a Traditional Latin Mass near you...</h2> I set the Cache to "Time Based" and 1HR for Query and 1 HR for Rendered Output.

The result will display on the first view but then disappears on the next page view. If I clear the cache, it will show on every page view.

Any help would be greatly appreciated...

Before

After

Before

http://www.latinritemass.net

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joaomachado’s picture

Issue summary: View changes
joaomachado’s picture

Issue summary: View changes
odegard’s picture

I'm seeing the same in views 7-x.3.13.

odegard’s picture

Version: 7.x-3.11 » 7.x-3.13
Component: Miscellaneous » page displays
Category: Support request » Bug report

This should be files as a bug.

odegard’s picture

It works if I only cache the query, not the rendered output.

erikhopp’s picture

Title: Global: Result summary disappears when using time based cache » Header content disappears when using time-based cache
Component: page displays » Code
Issue tags: -Global: Result Summary +views cache, +caching

I've run into this issue as well. I'm seeing all view header content disappear when using a non-zero time-based query caching option in a block display. Selecting non-zero options for render caching do not cause the header content to disappear. Like @joaomachado, I'm also seeing the header appear on the initial load (or immediately after caches are cleared), and then not after that until caches are cleared again. Presumably the headers are simply not being included correctly in the cached output.