Forums | Mahara Community

Developers /
Is it possible to write JS-only plugins for Mahara?


05 July 2012, 9:01 AM

Hello,

I would like to add a JS script for suggestions to the search input (top-right), but I cannot find a way to do it without modifying lib/web.php to include a homemade script, like mahara/js/suggest.js. Is there a better way?

Thomas W Bell's profile picture
Posts: 59

25 July 2012, 7:12 AM

You could commit it to the project and try and have it included in the core. =]

Or, on a temporary basis, could you add it to your theme through the header/head.tpl template file?

01 August 2012, 7:48 AM

I'll do that, thanks.

3 results