The sandbox as it stands doesn't work with CTools 7.x. This patch does enough to get the module working again w/ CTools 7.x and to make the options show up on the Views Content Cache screen in Views, like so.

Comments

Steven Merrill’s picture

StatusFileSize
new23.74 KB

Patch attached.

Steven Merrill’s picture

Title: Fix Ctools integration » Fix Ctools integration, convert main logic to DBTNG
StatusFileSize
new39.82 KB

Here's an updated patch. It incorporates the following things:

  1. Kills some D6 database remnants (db_placeholders())
  2. Converts the md5'ing of $key_data to work with Views 3 / Drupal 7
  3. Imports the majority of the fixes from http://drupal.org/sandbox/jaydub/1286920

Sadly, I had to lift DatabaseConnection::expandArguments wholesale into views_content_cache_plugin_cache for now to do so.

Expiration logic is still untested, and the tests will need a little finesse; I'll probably work on those next.