From MoodleDocs
< Talk:YUI
Revision as of 00:27, 2 September 2014 by Andrew Nicols (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


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


(blocks instead of block)

== No - the frankenstyle format for blocks is block_fruit, whilst the directory is 'blocks' - probably for historical reasons. --Andrew Nicols (talk) 08:27, 2 September 2014 (WST)