drupal 6, tagadelic cache clear
20 Apr
I’ve got some problem with the tagadelic module in Drupal 6.x to create tag clouds. Even having removed the “cache” from the site setting, when a new post was published, the clouds didn’t change, never!
At the end I’ve fount a little patch on the web and I’m trying here to explain it to new users, not familiar with patch.
- go into the module directory “sites/all/modules/tagadelic” and open the file tagadelic.module with your favourite editor
- goto line 215 (or around there) and change the line “
$cache = cache_get($cache_name);" to $cache = cache_get($cache_name, 'cache_block');<br /></pre></li><li>goto line 228 and do the same: change<br /><pre>cache_set($cache_name, $tags); to <br />cache_set($cache_name, $tags, 'cache_block', CACHE_TEMPORARY);
upload the file and the problem will magically disappear.
Original source thanks to: http://drupal.org/node/231030


Hanno detto…