VMoodle Block Plugin - Several Problems

This forum post has been removed

Number of replies: 1
The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: VMoodle Block Plugin - Several Problems

by Valery Fremaux -
Picture of Plugin developers

Sorry for finding this post so late. 

VMoodle has recently been refreshed for Moodle 2.6, solving the subplugins issue in a more elegant way than it had been in 2.4. 

The prerequisite is now simple : The /lib/classes/component.class.php file in new Moodle library for 2.6 now needs to show (see bold) : 

/**
 * Collection of components related methods.
 */
class core_component {
    /** @var array list of ignored directories - watch out for auth/db exception */
    protected static $ignoreddirs = array('CVS'=>true, '_vti_cnf'=>true, 'simpletest'=>true, 'db'=>true, 'yui'=>true, 'tests'=>true, 'classes'=>true, 'fonts'=>true);
    /** @var array list plugin types that support subplugins, do not add more here unless absolutely necessary */
    protected static $supportsubplugins = array('mod', 'editor', 'tool', 'local', 'block');
 

for the block correctly installing its subcomponents.


Average of ratings: Useful (1)