Add Javascript to Moodle custom menu

Add Javascript to Moodle custom menu

by Kimber Warden -
Number of replies: 1

Is there any way to add a javascript link in a Moodle custom menu? Specifically, I want to restart a User Tour from a menu rather than from the link in the footer.

Average of ratings: -
In reply to Kimber Warden

Re: Add Javascript to Moodle custom menu

by Dan Poltawski -

It's hacky, but if you wanted to do it without a plugin / with existing settings, you could apply the javascript in the settings in Site administration > Appearance> Additional HTML (probably additionalhtmlfooter).