You are here

function _views_slideshow_liquidcarousel_get_install_error_message in Views Slideshow Liquid Carousel 7.2

Same name and namespace in other branches
  1. 7 views_slideshow_liquidcarousel.module \_views_slideshow_liquidcarousel_get_install_error_message()

Get the install error message.

2 calls to _views_slideshow_liquidcarousel_get_install_error_message()
views_slideshow_liquidcarousel_requirements in ./views_slideshow_liquidcarousel.install
Implements hook_requirements().
views_slideshow_liquidcarousel_views_slideshow_slideshow_type_form in ./views_slideshow_liquidcarousel.views_slideshow.inc
Implements hook_views_slideshow_slideshow_type_form().

File

./views_slideshow_liquidcarousel.module, line 60
views_slideshow_liquidcarousel.module

Code

function _views_slideshow_liquidcarousel_get_install_error_message() {
  $library = libraries_load('liquidcarousel', 'minified');
  $library_link = l($library['download url'], $library['download url'], array(
    'attributes' => array(
      'target' => '_blank',
    ),
  ));
  $t = get_t();
  $output = $t('The jQuery Liquid Carousel plugin needs to be installed.');
  $output .= ' ';
  $output .= $t('Download the jQuery plugin from !link and unzip it into @library_path.', array(
    '!link' => $library_link,
    '@library_path' => 'sites/all/libraries/liquidcarousel',
  ));
  return $output;
}