Difference between revisions of "PT Photo Gallery Photo Add"
From ADF Docs
(→Update Photo Gallery Site Config) |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | The Photo Add Page | + | The Photo Add Page is a lightbox page to create new photo records. |
+ | |||
+ | Follow these steps to configure the link and page for adding photos. | ||
== Steps == | == Steps == | ||
− | # Create a new page called 'Photo Add' | + | #Create a new page called 'Photo Add' from the [[PT_Photo_Gallery_Lightbox_Template|Lightbox Template]] and in the ''/lightbox/photogallery/'' subsite. |
− | + | #In the main content of the page place a Custom Script element. | |
− | + | #From the Custom Script element interface, click the "Edit" icon. | |
− | # In the main content of the page place a Custom Script element. | + | #Enter the following text into the Explicit Module path: ''/ADF/apps/pt_photo_gallery/customcf/handle_photo_add.cfm''. |
− | # From the Custom Script element interface, click the "Edit" icon. | + | #From the Simple Form element interface icons choose the "Select Form" icon. |
− | # Enter the following text into the Explicit Module path: | + | #In the Create/Select Simple Form dialog choose the option to "Select Simple Form/Custom Element" option and click "next". |
− | + | #From the Select Form/Custom Element dialog choose the "Photo" custom element and click "Finish". | |
− | # From the Simple Form element interface icons choose the "Select Form" icon. | + | #Within the "Manage Simple Form Element" dialog, enter the following information: |
− | # In the Create/Select Simple Form dialog choose the option to "Select Simple Form/Custom Element" option and click "next". | + | ##Name: (leave as is) |
− | # From the Select Form/Custom Element dialog choose the "Photo" custom element and click "Finish". | + | ##Email Notification Recipients: (If you would like to receive an e-mail whenever an event is added place your e-mail in here. This is optional) |
− | # Within the "Manage Simple Form Element" dialog enter the following information: | + | ##Sender's Email Address: leave checked |
− | ## Name: (leave as is) | + | ##Anonymous Sender's Email Address: (add in an anonymous email address if needed) |
− | ## Email Notification Recipients: (If you would like to receive an e-mail whenever an event is added place your e-mail in here. This is optional) | + | ##Form Action: choose "Display Textblock on Submission" option and add 'Photo uploaded successfully!' text in the RTE. |
− | ## Sender's Email Address: leave checked | + | ##Select Finish and then Finish again. |
− | ## Anonymous Sender's Email Address: (add in an anonymous email address if needed) | + | #Publish the page |
− | ## Form Action: choose "Display Textblock on Submission" option and add 'Photo uploaded successfully!' text in the RTE. | + | |
− | ## Select Finish and then Finish again. | + | == Update Configuration == |
− | # Publish the page | + | Update the Photo Gallery Configuration for the ADD 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]] | |
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 22:37, 24 March 2010
Overview
The Photo Add Page is a lightbox page to create new photo records.
Follow these steps to configure the link and page for adding photos.
Steps
- Create a new page called 'Photo Add' from the Lightbox Template and in the /lightbox/photogallery/ subsite.
- In the main content of the page place 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_add.cfm.
- From the Simple Form element interface icons choose the "Select Form" icon.
- In the Create/Select Simple Form dialog choose the option to "Select Simple Form/Custom Element" option and click "next".
- From the Select Form/Custom Element dialog choose the "Photo" custom element and click "Finish".
- Within the "Manage Simple Form Element" dialog, enter the following information:
- Name: (leave as is)
- Email Notification Recipients: (If you would like to receive an e-mail whenever an event is added place your e-mail in here. This is optional)
- Sender's Email Address: leave checked
- Anonymous Sender's Email Address: (add in an anonymous email address if needed)
- Form Action: choose "Display Textblock on Submission" option and add 'Photo uploaded successfully!' text in the RTE.
- Select Finish and then Finish again.
- Publish the page
Update Configuration
Update the Photo Gallery Configuration for the ADD URL field. Edit the row in the datasheet and select the CommonSpot page that was created.
Reset the ADF for the server and site.