PT Photo Gallery Version 1.2 Install

From ADF Docs
Revision as of 16:41, 3 January 2012 by Mcarroll (talk | contribs)
Jump to: navigation, search

Download

Download the Photo Gallery Application from the Community Site or from the SVN Repository.

Extract the zip files into the following directory: /ADF/apps/pt_photo_gallery/

Site Configuration

The Photo Gallery Application is built within the ADF. The ADF must be installed in the site to run the Photo Gallery, follow the ADF Installation instructions.

  • Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF Installation.
  • Open the sites 'ADF.cfc' (See Site Configuration (ADF.cfc) for more info) file (located in your site's /_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("ptPhotoGallery");

Styles

There are several out of the box style options for the Photo Gallery application. The styles are defined in the following style sheets located in the /pt_photo_gallery/style/ directory within the ADF Photo GalleryApp directory:

  • ptPhotoGallery.css (/ADF/apps/pt_photo_gallery/style/ptPhotoGallery.css)


The recommended approach is to load this style sheet into your Base Plus One Template.

'Note:' the classes and styles defined for the Photo Gallery are targeted tightly for the layout generated by the Photo Gallery application and should not interfere with your site styles. However, it is a good idea to give these styles sheets higher precedence in your style definitions.


Import Custom Elements

Subsites

Templates

CCAPI Configuration