Thank you for your wonderful module.

In status report, get a warning:

jQuery UI Accordion not enabled
If you want to use the Field Group accordion formatter, you will need to install the jQuery UI Accordion module.

I’m not going to use accordion. To keep my system optimized, how can I remove the warning please?

CommentFileSizeAuthor
#6 module_field_group.patch1.47 KBAnonymous (not verified)
#2 59D32AA0-3117-4769-B04E-8CB07A34E2C9.jpeg80.55 KBliliplanet

Comments

Liliplanet created an issue. See original summary.

liliplanet’s picture

StatusFileSize
new80.55 KB

Please can we remove the warning, I’m getting the notification constantly.

Warning

naresh_bavaskar’s picture

IMO: Generally this warning makes sense for field group users, but for this specific requirement you might alter the
function field_group_requirements($phase) {

liliplanet’s picture

Where and how please @Naresh?

larisse’s picture

Hi @Liliplanet!

As @naresh_bavaskar said, you can alter the function field_group_requirements($phase), that is in field_group.install archive.
There is a if, where is checked if Check jQuery UI Accordion is installed, then you can change this part of the code.

Anonymous’s picture

StatusFileSize
new1.47 KB

Hello, I've made this patch for you ;-)

liliplanet’s picture

Thank you @Pierre! It has truly been bothering me, every time I go to reports, get a heart attack warning, all good now, again, thank you.

alexp999’s picture

It may be better just to change the severity from warning to info, that way the message will be in status report for those that need it, but it doesn't constantly annoy those who don't.

klemendev’s picture

This should be added to the module, not just a patch, as this warning is quite annoying

jwilson3’s picture

Yes this is very annoying and it bothers non-technical website stakeholders who are not Drupal experts to see a "warning" when there is no way to fix it. We even considered enabling the module as a way to make the error go away, before diving into the code to figure out what this was all about.

However, there are three issues about this accordion warning on the issue queue.

I suggest we consolidate around the oldest issue #3154304, which also incidentally has the most followers.

jwilson3’s picture

Status: Active » Closed (duplicate)

Let's consolidate conversation on the original issue #3154304: Remove jQuery UI Accordion dependency and warning where there are more followers.