Customize tabs module Database

Customize tabs module Database

Nosūtīja Alex Ferrer
Atbilžu skaits: 2

Hi

I'm using moodle 2.5.1 + and the database module I would like to customize the tabs eliminating View single. Can this be done?

Cheers.
Alex.

Vidējais novērtējums: -
Atbildot uz Alex Ferrer

Re: Customize tabs module Database

Nosūtīja Itamar Tzadok

If you mean customize the code then you can modify mod/database/tabs.php to comment out the line that adds the search tab, and mod/database/lib.php function data_extend_navigation to comment out the line that adds the corresponding link to the navigation block.

Other possible approaches, less foolproof though, are css and/or javascript to remove/hide the dom elements of the tab and navigation link.

hth smaidīgs