function _views_slideshow_liquidcarousel_get_install_error_message in Views Slideshow Liquid Carousel 7.2
Same name and namespace in other branches
- 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()
File
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;
}