Difference between revisions of "PT Photo Gallery Site Configuration"

From ADF Docs
Jump to: navigation, search
m (moved PT Photo Gallery Site Configuration to Photo Gallery Site Configuration: changed to user-friendly title)
Line 14: Line 14:
 
   AND FormControl.action = ''
 
   AND FormControl.action = ''
 
</pre>
 
</pre>
# ADD_URL - Site relative URL for the Photo Add page.<br /><br />
+
# ADD_URL - Site relative URL for the Photo Add page. (Example: /webadmin/photogalleryadmin/lightbox/Photo-Add.cfm) <br /><br />
# UPLOAD_FORM_URL - Site relative URL for the Photo Upload page. <br /><br />
+
# UPLOAD_FORM_URL - Site relative URL for the Photo Upload page. (Example: /webadmin/photogalleryadmin/lightbox/Photo-Upload.cfm) <br /><br />
# UPLOAD_PATH - Server Path on the server to store the uploaded photos. <br /><br />
+
# UPLOAD_PATH - Server Path on the server to store the uploaded photos. (Example: D:/full/path/to/this/dir/_cs_apps/pt_photo_gallery/uploads/) <br /><br />
# UPLOAD_URL - URL Path on the server to store the uploaded photos. <br /><br />
+
# UPLOAD_URL - URL Path on the server to store the uploaded photos. (Example: /_cs_apps/pt_photo_gallery/uploads/)<br /><br />
# UPLOAD_DOC_TYPES - Photo file types that are allowed to be uploaded. <br /><br />
+
# UPLOAD_DOC_TYPES - Photo file types that are allowed to be uploaded. (Example: jpg,gif,bmp,png) <br /><br />
  
 
[[Category:Photo Gallery]][[Category:Site Configuration]]
 
[[Category:Photo Gallery]][[Category:Site Configuration]]

Revision as of 16:39, 23 February 2010

Overview

The Photo Gallery App uses a custom element to store site specific configurations. The Photo Gallery App needs to know the profile element name, unique field, roles, subsite ids, and template ids for the site.

The fields for the Photo Gallery Configuration custom element are defined below.

Configuration Fields

There are six major components to the configuration:

  1. CE_NAME - Photo custom element name within the site.

  2. CE_FORM_ID - Photo custom element form ID within the site. You can get this ID by running the following SQL command on the site database:
  SELECT 	ID
  FROM 	FormControl
  WHERE 	FormName = 'Photo'
  AND 	FormControl.action = ''
  1. ADD_URL - Site relative URL for the Photo Add page. (Example: /webadmin/photogalleryadmin/lightbox/Photo-Add.cfm)

  2. UPLOAD_FORM_URL - Site relative URL for the Photo Upload page. (Example: /webadmin/photogalleryadmin/lightbox/Photo-Upload.cfm)

  3. UPLOAD_PATH - Server Path on the server to store the uploaded photos. (Example: D:/full/path/to/this/dir/_cs_apps/pt_photo_gallery/uploads/)

  4. UPLOAD_URL - URL Path on the server to store the uploaded photos. (Example: /_cs_apps/pt_photo_gallery/uploads/)

  5. UPLOAD_DOC_TYPES - Photo file types that are allowed to be uploaded. (Example: jpg,gif,bmp,png)