If you get black and huge buttons, and neither CSS nor JS files loaded, try to fix version Error: by Add 'lines' => 3, #line: 327, file: rrssb.module and Clear ALL CACHE.
/**
* Implements hook_libraries_info().
*/
function rrssb_libraries_info() {
$libraries['rrssb'] = array(
'name' => 'Ridiculously Responsive Social Share Buttons',
'vendor url' => 'http://kurtnoble.com/labs/rrssb/',
'download url' => 'https://github.com/kni-labs/rrssb/archive/1.8.1.zip',
'version arguments' => array(
'file' => 'package.json',
'pattern' => '/"version": "([\d\.]+)"/',
'lines' => 3,
),
'files' => array(
'js' => array(
'js/rrssb.min.js',
),
'css' => array(
'css/rrssb.css',
),
),
);
return $libraries;
}
Comments
Comment #2
trong.nguyen.tcec commentedComment #3
adamps commentedOK I guess from your issue title that you are using library version 1.10.0. The supported library version is currently 1.8.1, so that's why you are seeing the problem - it's not a bug. If you download the correct version, the problem should go away.
If there is a particular reason why you want to use the newer version then please re-open the issue as a feature request, explaining why it would be useful. If you can supply a patch for the code change required that would make it easier for your request to be met. It would be more than just the line you have so far - notice that the version number is part of the download url and it is in some other places too. Thanks.
Comment #4
adamps commentedIn fact we might as well have a task for the newer library version.
Comment #5
adamps commentedOn investigation, the "lines=3" change does not seem necessary to work with the new library version.
Comment #6
lrodarte commentedI am also getting huge black, stacked buttons, CSS not loading, and I am using the correct 1.8.1 library (used the link provided on the module page).
Comment #8
adamps commented