Skip to content

Missing (non-functioning) Dropdown at Moodle 5.1+ (Build: 20251030) #249

@hb02

Description

@hb02

To whom it may concern:

Here is some information about using Moodle 5.1+.

We had a problem with the plugin (installed Version 2024111900) because we could no longer use the drop-down menu to manually trigger after the upgrade.

Image

After a long search, we came across the following post:

https://moodle.org/mod/forum/discuss.php?d=469600&parent=1885270

Quote:
“Our problem was that the old syntax ”data-“ was being used. After I replaced all ”data-“ with ”data-bs-“ in the source code, it worked. Maybe this will help someone else.”

With this information and the linked video, I started searching within the plugin. Changing the file renderer.php under moodle/public/admin/tool/trigger/classes/output/workflowhistory did the trick. Here, I changed all “dropdown-toggle” from “data-toggle” to “data-bs-toggle.”

Image Image

After that, the functionality at the moment is back.

Image

I just wanted to let you know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions