Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "GOCDB/Release4/Customisation"

From EGIWiki
Jump to navigation Jump to search
m (Created page with '== Customising GOCDB-4.0d1 ==')
 
m
Line 1: Line 1:
Back to [[GOCDB_Regional_Module_Technical_Documentation | GOCDB Regional Module Technical Documentation]]
== Customising GOCDB-4.0d1 ==
== 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&amp;query=Get_Site_Production&amp;parameters[]=SHORT_NAME&amp;start_row=0&amp;end_row=20&amp;form_name=Update_site&amp;Title=Sites</link>
  </site>
  <Help_And_Contact>
    <name>Help And Contact</name>
    <link>index.php?Page_Type=Static_HTML&amp;Page=Help_And_Contact.html</link>
  </Help_And_Contact>
  </main_menu>
</menus>

Revision as of 18:22, 19 November 2010

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>