Difference between revisions of "OHSU Navigation Install v2.0"

From ADF Docs
Jump to: navigation, search
(Created page with 'Please follow the OHSU Navigation Install Guide v1.0 steps. Once completed with the v1.0 install guide, please add the next steps to the insta…')
 
Line 2: Line 2:
  
 
Once completed with the v1.0 install guide, please add the next steps to the installation.
 
Once completed with the v1.0 install guide, please add the next steps to the installation.
 +
 +
== Site Configuration ==
 +
The application uses an XML file to manage the site specific configurations. 
 +
 +
The fields for the configuration fields are defined below.
 +
 +
To allow each site to have its own configuration:
 +
* Locate the ''/_cs_apps'' directory in your site.  If a ''/_cs_apps/config/'' directory does not exists, then create the directory.
 +
* Place a file in this directory called "ohsuNav.xml".  This file can be found in the ''/ohsu_nav/site-files/_cs_apps/config/ohsuNav.xml''.
 +
* Verify the tag field data with the descriptions of the tags below.
 +
* We will come back to this configuration file later to populate the data.
 +
 +
=== XML Tags ===
 +
The following are the tags of the OHSU Nav XML Config file:
 +
# '''registeredURLs''' - Registered URL settings.
 +
## '''openInNewWindow''' - Open Registered URLS in a new window (or tab) - adds: target="_blank" to the link.
 +
## '''excludedDomains''' - Comma delimited list of domains to exclude from the openInNewWindow config option.

Revision as of 18:51, 5 September 2012

Please follow the OHSU Navigation Install Guide v1.0 steps.

Once completed with the v1.0 install guide, please add the next steps to the installation.

Site Configuration

The application uses an XML file to manage the site specific configurations.

The fields for the configuration fields are defined below.

To allow each site to have its own configuration:

  • Locate the /_cs_apps directory in your site. If a /_cs_apps/config/ directory does not exists, then create the directory.
  • Place a file in this directory called "ohsuNav.xml". This file can be found in the /ohsu_nav/site-files/_cs_apps/config/ohsuNav.xml.
  • Verify the tag field data with the descriptions of the tags below.
  • We will come back to this configuration file later to populate the data.

XML Tags

The following are the tags of the OHSU Nav XML Config file:

  1. registeredURLs - Registered URL settings.
    1. openInNewWindow - Open Registered URLS in a new window (or tab) - adds: target="_blank" to the link.
    2. excludedDomains - Comma delimited list of domains to exclude from the openInNewWindow config option.