GOCDB/Release4/Customisation

From EGIWiki
< GOCDB‎ | Release4
Revision as of 12:30, 18 December 2012 by Krakow (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


GOC DB menu: Home Documentation Index


Back to GOCDB/Regional_Module_Technical_Documentation

Customising GOCDB-4.0d1

Introduction

GOCDB-4.0d1 is the first development release of GOCDB-4. The aim of this release is to allow regions that will potentially adopt GOCDB-4 to perform an early evaluation of the project.

There are many aspects of the system that can be changed through configuration files, some of the more common operations are covered here.

Configuring the Web Portal Menu

The web portal draws the left hand menu based on the contents of an XML file:

  • /opt/GOC4/config/web_portal/menus.xml

Example menus.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<menus>
 <main_menu>
  <site>
   <name>Site List</name>
   <link>index.php?Page_Type=Table&query=Get_Site_Production&parameters[]=SHORT_NAME&start_row=0&end_row=20&form_name=Update_site&Title=Sites</link>
  </site>
  <Help_And_Contact>
   <name>Help And Contact</name>
   <link>index.php?Page_Type=Static_HTML&Page=Help_And_Contact.html</link>
  </Help_And_Contact>
 </main_menu>
</menus>

The "Add Menu Items" link of the web portal can be used to add new items to this list and will perform any additional configuration necessary to support the particular link being added.

Each menu item is a child of <menus><main_menu> so removing a link from the main menu is as simple as deleting the specific child of <menus><main_menu>. Note that for many menu items there are other settings that may need removing. However the system is designed such that these other configuration items can safely be left without affecting other aspects of the system's operation.

Selecting Fields Shown in a Web Portal Table

See: GOCDB/Selecting_Fields_Shown_in_a_Web_Portal_Table