Forums | Mahara Community
add menu under dashboard is not working
14 January 2015, 12:18 AM
I am adding an artefact plugin under dashboard menu like (content/files).
I have wrote code as define('MENUITEM', "home/artefactname"); in index.php and
array('path' => "home/artefactname", 'url' => 'artefact/artefactname/','title' => get_string('artefactname', 'artefact.artefactname'), 'weight' => 60,), as on lib.php.
But it is not coming under dashboard (dashboard/artefactname). what i have to do to achieve this?
14 January 2015, 7:18 AM
By the sounds of things you will need to make the additional changes:
1) in htdocs/lib/web.php in the mahara_standard_nav() function in the 'home' array change path from '' to 'home' and then in htdocs/index.php change the
and this should give you the submenu link on the dashboard page
19 January 2015, 9:55 PM