Skip to content

djhipps/block_injection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

block_jsinjection

This is a block that is a boilerplate plugin designed to appear on target pages and inject javascripts into the page. This will allow important overrides to core plugins moodle using javascript and ajax calls as necessary.

Quick setup:

  • rename all namespaced files to your target plugin name
  • do a search and replace for jsinjection for all you files
  • update the amd scripts to provide the injected functionality
  • update ajax and webservices to provide a better interface

About

This is a plugin patter that allows you to inject javascript to override any core page or plugin in Moodle

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors