A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ensembl.org/info/docs/webcode/custom/remove_views.html below:

Removing unneeded views

Removing unneeded views

If you have a very basic installation of Ensembl with, say, no compara or functional genomics databases downloaded, you may want to remove the views that show that data. This is easily achieved via your plugin.

First, create a directory for the module that will modify the menu, e.g. /public-plugins/mirror/modules/EnsEMBL/Web. Then create the following file:

package EnsEMBL::Web::Configuration::Gene;

use strict;

sub modify_tree {
  my $self = shift;
  $self->delete_node('Regulation');
  $self->delete_submenu('Compara');
  $self->delete_submenu('Variation');
}

1;

Restart your server, and the unwanted menu items will disappear!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4