PT Photo Gallery Gallery Element

From ADF Docs
Revision as of 02:39, 29 November 2009 by Renee.mckechnie (talk | contribs) (Created page with '== Overview == A Photo Gallery custom element was developed based on the general chooser functionality. This provides the functionality to select Photo element records to associ…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

A Photo Gallery custom element was developed based on the general chooser functionality. This provides the functionality to select Photo element records to associate to the custom element. Also provides searching and sorting capabilties.

Setup

  1. Import the Photo Gallery custom element.
    1. Note: be sure to check the path of the render handler and the imported custom field types to update to point to the ADF mapping, and not the current sites mapping.
    2. Note: this element contains the General Chooser field type. If the General Chooser field type is already installed on the site then the import process will attempt to import another General Chooser but with a new naming convention. To resolve this, open the Profile Select custom element and assign the field type to the field type with the simple name General Chooser. After reassigning the field type, you can delete the new imported field from the list of custom field types.
  2. Update the Photo Select field with the bean name property of PhotoGC.

Demo

To setup a demo of the Photo Gallery custom element, follow the next steps:

  1. Create a new page and place the Photo Gallery element on the page.
  2. Assign a Custom Render Handler from the list below:
    1. Listing Display - This render handler has the Photo Size Render metadata form that can be used to control the rendering size. Import this metadata form if not imported into the site yet. Bind this metadata form to the Profile Select Listing Display render handler.
    2. Banner Photos - Flash rotating photo display.
    3. Carousel Display - JQuery JCarousel plugin based photo displaying a carousel of the selected photos.
    4. GalleryView Display - JQuery GalleryView plugin based photo display.