Difference between revisions of "PT Photo Gallery Site Configuration"
From ADF Docs
m (moved PT Photo Gallery Site Configuration to Photo Gallery Site Configuration: changed to user-friendly title) |
(→Configuration Fields) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == 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 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. | ||
+ | |||
+ | If you are installing the PT Photo Gallery application, there is no need to do anything with this element at this time. This element will be [[PT_Photo_Gallery_Configuration|configured]] in a later step. | ||
The fields for the Photo Gallery Configuration custom element are defined below. | The fields for the Photo Gallery Configuration custom element are defined below. | ||
Line 6: | Line 8: | ||
== Configuration Fields == | == Configuration Fields == | ||
There are six major components to the configuration: | There are six major components to the configuration: | ||
− | # | + | # '''CE_FORM_ID''' - Photo custom element form ID within the site. |
− | + | # '''ADD_URL''' - Site relative URL for the Photo Add page. (Example: /webadmin/photogalleryadmin/lightbox/Photo-Add.cfm) | |
− | + | # '''UPLOAD_FORM_URL''' - Site relative URL for the Photo Upload page. (Example: /webadmin/photogalleryadmin/lightbox/Photo-Upload.cfm) | |
− | + | # '''DISPLAY_URL''' - Site relative URL for rendering a photo to the user. | |
− | + | # '''UPLOAD_URL''' - URL Path on the server to store the uploaded photos. (Example: /_cs_apps/pt_photo_gallery/uploads/) | |
− | + | # '''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/) | |
− | + | # '''UPLOAD_DOC_TYPES''' - Photo file types that are allowed to be uploaded. (Example: jpg,gif,bmp,png) | |
− | |||
− | |||
− | # UPLOAD_FORM_URL - Site relative URL for the Photo Upload page. | ||
− | # | ||
− | # | ||
− | # UPLOAD_DOC_TYPES - Photo file types that are allowed to be uploaded. | ||
[[Category:Photo Gallery]][[Category:Site Configuration]] | [[Category:Photo Gallery]][[Category:Site Configuration]] |
Latest revision as of 20:17, 19 April 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.
If you are installing the PT Photo Gallery application, there is no need to do anything with this element at this time. This element will be configured in a later step.
The fields for the Photo Gallery Configuration custom element are defined below.
Configuration Fields
There are six major components to the configuration:
- CE_FORM_ID - Photo custom element form ID within the site.
- ADD_URL - Site relative URL for the Photo Add page. (Example: /webadmin/photogalleryadmin/lightbox/Photo-Add.cfm)
- UPLOAD_FORM_URL - Site relative URL for the Photo Upload page. (Example: /webadmin/photogalleryadmin/lightbox/Photo-Upload.cfm)
- DISPLAY_URL - Site relative URL for rendering a photo to the user.
- UPLOAD_URL - URL Path on the server to store the uploaded photos. (Example: /_cs_apps/pt_photo_gallery/uploads/)
- 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/)
- UPLOAD_DOC_TYPES - Photo file types that are allowed to be uploaded. (Example: jpg,gif,bmp,png)