Custom Certificate Repositioning Not Working

Custom Certificate Repositioning Not Working

by Damion Mitchell -
Number of replies: 1

Good Morning. When I added the elements and trying to position them, they are just anchored to the top left hand. I am using Moodle 4.1, and Custom Certificate 3.7. When I check in the JS console I got this error message

yui_combo.php?3.17.2/event-resize/event-resize-min.js&3.17.2/dd-ddm/dd-ddm-min.js&3.17.2/dd-ddm-drop/dd-ddm-drop-min.js&3.17.2/dd-drop/dd-drop-min.js&3.17.2/dd-drop-plugin/dd-drop-plugin-min.js&3.17.2/dd-delegate/dd-delegate-min.js&m/1678918124/mod_customcert/rearrange/rearrange-min.js:49

Uncaught TypeError: Cannot read properties of null (reading 'on')
at n.createevents (yui_combo.php?3.17.2/event-resize/event-resize-min.js&3.17.2/dd-ddm/dd-ddm-min.js&3.17.2/dd-ddm-drop/dd-ddm-drop-min.js&3.17.2/dd-drop/dd-drop-min.js&3.17.2/dd-drop-plugin/dd-drop-plugin-min.js&3.17.2/dd-delegate/dd-delegate-min.js&m/1678918124/mod_customcert/rearrange/rearrange-min.js:49:1316)
at n.initializer (yui_combo.php?3.17.2/event-resize/event-resize-min.js&3.17.2/dd-ddm/dd-ddm-min.js&3.17.2/dd-ddm-drop/dd-ddm-drop-min.js&3.17.2/dd-drop/dd-drop-min.js&3.17.2/dd-drop-plugin/dd-drop-plugin-min.js&3.17.2/dd-delegate/dd-delegate-min.js&m/1678918124/mod_customcert/rearrange/rearrange-min.js:49:860)
at n._initHierarchy (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:279:3762)
at n._baseInit (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:279:1086)
at n.init (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:311:694)
at n._initBase (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:279:948)
at n.v (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:279:95)
at n.o (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:319:50)
at new n (yui_combo.php?3.17.2/event-resize/event-resize-min.js&3.17.2/dd-ddm/dd-ddm-min.js&3.17.2/dd-ddm-drop/dd-ddm-drop-min.js&3.17.2/dd-drop/dd-drop-min.js&3.17.2/dd-drop-plugin/dd-drop-plugin-min.js&3.17.2/dd-delegate/dd-delegate-min.js&m/1678918124/mod_customcert/rearrange/rearrange-min.js:49:99)
at e.namespace.init (yui_combo.php?3.17.2/event-resize/event-resize-min.js&3.17.2/dd-ddm/dd-ddm-min.js&3.17.2/dd-ddm-drop/dd-ddm-drop-min.js&3.17.2/dd-drop/dd-drop-min.js&3.17.2/dd-drop-plugin/dd-drop-plugin-min.js&3.17.2/dd-delegate/dd-delegate-min.js&m/1678918124/mod_customcert/rearrange/rearrange-min.js:49:3018)


What's the workaround

Average of ratings: -
In reply to Damion Mitchell

Re: Custom Certificate Repositioning Not Working

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
You should be using the 4.x version of the custom certificate module.