0
我正在使用Views Accordion模块。我想禁用它使用的jQuery UI,并使用纯CSS代替。Drupal 7 - 如何禁用Views使用的jQuery UI手风琴
我首先克隆了模块并做了必要的修改,但后来我读到不建议编辑贡献模块,最好是创建一个修改其功能的新模块,更正确吗?
在视图手风琴模块有这条线在views_accordion_style_plugin.inc:
public function pre_render($result) {
drupal_add_library('system', 'ui.accordion');
我愿意把我的模块怎么禁用并称ui.accordion库?
谢谢!