Difference between revisions of "GOCDB/Release4/Customisation"
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&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> |
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¶meters[]=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>