Closed (cannot reproduce)
Project:
Views (for Drupal 7)
Version:
6.x-2.12
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2011 at 21:53 UTC
Updated:
3 May 2012 at 07:00 UTC
I'm using a view to replace the default taxonomy/term pages. In the header of the view I'm trying to print the term description. The problem is it's caching the description of the term that was first loaded so all of the term pages show the same description. If I edit the view and load another term page it caches that one.
What do I need to do to prevent it caching the header?
Here's the code I'm using in the header
$view = views_get_current_view();
$term = taxonomy_get_term($view->args[0]);
print check_markup($term->description, 2);
Comments
Comment #1
Schoonzie commentedThis ended up being due to the PHP filter being cached which was a bug in my site.