php - how to add a tag to the navigation tabs displayed in moodle profile page -
i want add new tab navigation of profile page. hope using moodle block or module. please give me clue this.
you have hack code in /user/tabs.php
(moodle 1.9).
just add new element $toprow
array:
$toprow[] = new tabobject('extra', 'http://a_link', 'extra');
where i'm specifying id, link , label new tab. obviously, have add code manage content of tab (possibly using $filterselect
). in above file, done other tabs, use template.
for parameters of tabobject constructor, refer /htdocs/lib/weblib.php
.
the truth in code.
Comments
Post a Comment