Difference between revisions of "PT Photo Gallery Photo Upload"
From ADF Docs
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | The Photo Upload Page will be used to upload new photos into the Photo Element | + | The Photo Upload Page will be used to upload new photos into the Photo Element. |
== Steps == | == Steps == | ||
− | # Create a new page called 'Photo Upload' | + | # Create a new page called 'Photo Upload' from the [[PT_Photo_Gallery_Lightbox_Template|Lightbox Template]] and in the ''/lightbox/photogallery/'' subsite. |
# In the main content of the page, add a Custom Script element. | # In the main content of the page, add a Custom Script element. | ||
# From the Custom Script element interface, click the "Edit" icon. | # From the Custom Script element interface, click the "Edit" icon. | ||
− | # Enter the following text into the Explicit Module path: | + | # Enter the following text into the Explicit Module path: ''/ADF/apps/pt_photo_gallery/customcf/handle_photo_upload.cfm'' |
− | |||
## Select Finish and then Finish again. | ## Select Finish and then Finish again. | ||
# Publish the page. | # Publish the page. | ||
== Update Photo Gallery Site Config == | == 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 ADF|Reset the ADF]] for the server and site. | |
− | |||
− | |||
[[Category:Photo Gallery]] | [[Category:Photo Gallery]] |
Revision as of 22:40, 24 March 2010
Overview
The Photo Upload Page will be used to upload new photos into the Photo Element.
Steps
- Create a new page called 'Photo Upload' from the Lightbox Template and in the /lightbox/photogallery/ subsite.
- In the main content of the page, add a Custom Script element.
- From the Custom Script element interface, click the "Edit" icon.
- Enter the following text into the Explicit Module path: /ADF/apps/pt_photo_gallery/customcf/handle_photo_upload.cfm
- Select Finish and then Finish again.
- 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.