OHSU Navigation

From ADF Docs
Revision as of 19:12, 8 September 2010 by Mike (talk | contribs) (Requirements)
Jump to: navigation, search

About Navigation App

The Navigation application is built in the Application Development Framework (ADF).

Requirements

CommonSpot Features:

  • Simple Forms/Datasheets
  • Custom Metadata

ADF Library components that are required for the Profile:

  • CEData_1_0
  • CSData_1_0
  • Scripts_1_0
  • Data_1_0
  • CCAPI

The ADF must be configured correctly for your site. The Site Configuration (ADF.cfc) wiki page has instructions for configuration.

The Content Creation API (CCAPI) must be configured for your site. The CCAPI Configuration wiki page has instructions for configuration.

Contents

The Navigation application contains the following CommonSpot components in the /ohsu_nav/exported_objects/ directory:

  • Custom Coding - various components and scripts.
  • CommonSpot Components:
    • Nav Element (Custom Element)
    • Navigation Custom Field Type

'Note:' Elements may contain one or more: Render Handlers or Custom Field Types. They do NOT use Display Templates.

Pre-installation Considerations

The ADF must be setup and configured on the server for the site that will be implementing the Navigation application. For detailed instructions follow the ADF Overview wiki page for Site Configurations.

This installation guide assumes that you have no Custom Elements/Metadata Forms with the names above. Before the install, remove any Custom Elements/Metadata Forms with the names listed in the "Contents" section above. (If you do not remove existing elements with these names, you may have difficulties during the installation.)

Installation/Setup

Each of the following steps should be completed fully and in the order presented:

  • Download the Navigation app (two choices)
  • Place the code for the navigation (/ohsu_nav/) into the /ADF/apps/ directory
  • Open the 'ADF.cfc' file for your site (located in the /site_folder/_cs_apps/ directory) in a text editor. Locate the 'Load the ADF Application into application space' comment in the file. Add (or uncomment) the following command under the comment section:
loadApp("ohsuNav");
  • Reset the ADF for the site by adding the following URL parameter to any page within the site. (If the site is completely new, you may have to create an index.cfm page first.)
?ResetSiteADF=1
Note: make sure that you are logged into CommonSpot before resetting the ADF

Guides

Known Issues/Bugs

  • Visit the Navigation project page in the Community site [1]