Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
Selection_334.png | 32.99 KB | joaomachado | |
Selection_333.png | 207.85 KB | joaomachado | |
Selection_331.png | 210.04 KB | joaomachado |
Comments
Comment #1
joaomachado CreditAttribution: joaomachado commentedComment #2
joaomachado CreditAttribution: joaomachado commentedComment #3
odegard CreditAttribution: odegard commentedI'm seeing the same in views 7-x.3.13.
Comment #4
odegard CreditAttribution: odegard commentedThis should be files as a bug.
Comment #5
odegard CreditAttribution: odegard commentedIt works if I only cache the query, not the rendered output.
Comment #6
erikhopp CreditAttribution: erikhopp commentedI'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.