Difference between revisions of "Developer Area/Plugin migration between Mahara 1.3 and 1.4"
From Mahara Wiki
< Developer Area
Line 63: | Line 63: | ||
new.php | new.php | ||
plan.php | plan.php | ||
− | |define('MENUITEM', ''''myportfolio'''/plans'); | + | | |
− | |define('MENUITEM', ''''content'''/plans'); | + | define('MENUITEM', ''''myportfolio'''/plans'); |
+ | | | ||
+ | define('MENUITEM', ''''content'''/plans'); | ||
|} | |} |
Revision as of 07:35, 23 May 2011
Plugin | File | Mahara 1.3 | Mahara 1.4 |
---|---|---|---|
blocktype
/externalfeed |
lib.php |
public static function get_categories() { return array('feeds'); } |
public static function get_categories() { return array('external'); } |
blocktype
/externalvideo |
lib.php |
public static function get_categories() { return array('fileimagevideo'); } |
public static function get_categories() { return array('external'); } |
artefact
/plans |
lib.php |
public static function menu_items() { return array( array( 'path' => 'myportfolio/plans', 'url' => 'artefact/plans/', 'title' => get_string('myplans', 'artefact.plans'), 'weight' => 40, ), ); } |
public static function menu_items() { return array( 'content/plans' => array( 'path' => 'content/plans', 'url' => 'artefact/plans/', 'title' => get_string('Plans', 'artefact.plans'), 'weight' => 60, ), ); } |
artefact/plans |
index.php new.php plan.php |
define('MENUITEM', 'myportfolio/plans'); |
define('MENUITEM', 'content/plans'); |