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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -