PT Photo Gallery Photo Upload

From ADF Docs
Jump to: navigation, search

Overview

The Photo Upload Page will be used to upload new photos into the Photo Element.

Steps

  1. Create a new page called 'Photo Upload' from the Lightbox Template and in the /lightbox/photogallery/ subsite.
  2. In the main content of the page, add a Custom Script element.
  3. From the Custom Script element interface, click the "Edit" icon.
  4. Enter the following text into the Explicit Module path: /ADF/apps/pt_photo_gallery/customcf/handle_photo_upload.cfm
  5. Publish the page.

Update Photo Gallery Site Config

Update the Photo Gallery Configuration for the UPLOAD FORM URL field. Edit the row in the datasheet and select the CommonSpot page that was created.

Reset the ADF for the server and site.