Drag and drop blocks not working in custom theme

Drag and drop blocks not working in custom theme

by Mike Wilson -
Number of replies: 1

Hi, 

We have a custom theme called UoP Boost which is a child theme of Boost. We have slightly adapted layouts and mustache templates with some additions to renderers and styling.

Ever since we upgraded to Moodle 3.7.1 the drag and drop block icons don't appear (cross arrows), the icons work in regular Boost. In UoP Boost the icons default to the click to move icons (double headed arrow).

I can't seem to find the cause of the problem in our custom theme and the console implies the drag and drop blocks icons should be displaying: "Initialisation of drag and drop blocks complete".

It feels javascript related as the icons are replaced as part of the page rendering process.

Any pointers in the right direction would be greatly appreciated smile

Drag and drop blocks icons missing



Average of ratings: -
In reply to Mike Wilson

Re: Drag and drop blocks not working in custom theme

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Some JavaScript is broken somewhere which is preventing the functionality from working. Look on the console for errors.