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

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -