- πΊπΈUnited States smustgrave
As D7 is slowing shutting down. Wonder if this is still requested?
- Status changed to Closed: outdated
almost 2 years ago 3:00pm 18 June 2023
The latest 2.2 update broke the module for me when js is aggregated. This doesn't seem to affect other installations than this particular site. However, this seems easily solved by re-arranging the scopes/weights for all the included files. Example:
$form['module_filter'] = array(
'#type' => 'module_filter',
'#attached' => array(
'js' => array(
- drupal_get_path('module', 'module_filter') . '/js/modules.js' => array('weight' => 1),
+ array(
+ 'data' => drupal_get_path('module', 'module_filter') . '/js/modules.js',
+ 'type' => 'file',
+ 'weight' => $js_weight++,
+ 'scope' => 'footer'
+ ),
),
),
);
Same needs to be applied for other included files inside of module_filter_form_system_modules_alter(). Patch forthcoming.
Closed: outdated
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
As D7 is slowing shutting down. Wonder if this is still requested?