Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:YUI/Modules

From MoodleDocs
< Talk:YUI
Revision as of 00:24, 2 September 2014 by David Elliott (talk | contribs) (blocks not block)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I believe in the instruction to use $PAGE->requires->yui_module('moodle-block_fruit-fruitbowl',

       'M.block_fruit.fruitbowl.init');

they actually mean $PAGE->requires->yui_module('moodle-blocks_fruit-fruitbowl',

       'M.blocks_fruit.fruitbowl.init');

(blocks instead of block)