You are here

function views_quicksand_enable in Views Quicksand 7

Implements hook_enable().

File

./views_quicksand.install, line 53

Code

function views_quicksand_enable() {
  $library_path = views_quicksand_get_path();
  $libraries = libraries_get_libraries();
  if (!isset($libraries['jquery.quicksand'])) {
    drupal_set_message(t('You need to download the !quicksand and extract the entire contents of the archive into the %path folder of your server.', array(
      '!quicksand' => l(t('Quicksand plugin'), 'http://razorjack.net/quicksand/'),
      '%path' => $library_path,
    )), 'error');
  }
}