Difference between revisions of "PT Photo Gallery Configuration"
From ADF Docs
Dbeckstrom (talk | contribs) (→Create Photo Gallery Configuration Record) |
(→Steps) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
## Datasheet Source: Form Result/Custom Element Sheet | ## Datasheet Source: Form Result/Custom Element Sheet | ||
# From the Datasheet Source dialog choose the "PTPhotoGallery Configuration" custom element and click "Next". | # From the Datasheet Source dialog choose the "PTPhotoGallery Configuration" custom element and click "Next". | ||
− | # From the Datasheet Columns Dialog choose a few columns from the Available Columns list and move them to the Selected Columns list. ( | + | # From the Datasheet Columns Dialog choose a few columns from the Available Columns list and move them to the Selected Columns list. (UPLOAD_URL, Date Added, Last Date Modified, etc...) and then click "Finish". |
# You will be brought to the Datasheet View page; click "Close" to return to your page. | # You will be brought to the Datasheet View page; click "Close" to return to your page. | ||
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns". | # You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns". | ||
Line 38: | Line 38: | ||
== Create Photo Gallery Configuration Record == | == Create Photo Gallery Configuration Record == | ||
− | + | ||
+ | |||
+ | '''Note''' that this step assumes that you have [[PT_Photo_Gallery_Build_Templates_Pages#Admin_Pages|previously created the admin pages]]. | ||
+ | |||
We are creating a single Photo Gallery Configuration element record to be used within the application. | We are creating a single Photo Gallery Configuration element record to be used within the application. |
Latest revision as of 15:05, 29 September 2010
Overview
The Photo Gallery Configuration Pages will be used to manage the PTPhotoGallery Configuration custom element. Follow these steps to configure the datasheet and page for adding photos.
Steps
- Create a new page called 'Configuration Manager' in the /webadmin/photogallery/ subsite.
- In the main content of the page, add a Custom Script element.
- Enter the explicit module path for:
- /ADF/apps/pt_photo_gallery/customcf/photo_config_admin_ds.cfm
- From the Datasheet element interface, click the "Datasheet" icon.
- From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link.
- Enter the following information and then click "Next":
- Name: All Photo Gallery Configurations
- Private: unchecked
- Default View: unchecked
- Description: View to manage all of the Photo Gallery Configurations
- Datasheet Source: Form Result/Custom Element Sheet
- From the Datasheet Source dialog choose the "PTPhotoGallery Configuration" custom element and click "Next".
- From the Datasheet Columns Dialog choose a few columns from the Available Columns list and move them to the Selected Columns list. (UPLOAD_URL, Date Added, Last Date Modified, etc...) and then click "Finish".
- You will be brought to the Datasheet View page; click "Close" to return to your page.
- You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
- From the Datasheet View Column Properties dialog choose the link for "Add a new action column".
- Within the Action Column Properties dialog enter the following information and click "Finish":
- Header: Edit
- Hide Header: Checked
- Column Text: edit
- Window Target Name: <leave blank>
- Modules: edit-form-data.cfm
- From the Datasheet View Column Properties dialog, choose the link for "Add a new action column" again.
- Within the Action Column Properties dialog enter the following information and click "Finish":
- Header: Delete
- Hide Header: Checked
- Column Text: delete
- Window Target Name: <leave blank>
- Modules: delete-form-data.cfm
- Close the Edit Column window.
- Publish the page.
Create Photo Gallery Configuration Record
Note that this step assumes that you have previously created the admin pages.
We are creating a single Photo Gallery Configuration element record to be used within the application.
Go to the Add Configuration page and submit the form to create one record.
These fields will be completed as the pages are built.
See the Site Configuration wiki page for more information on the fields and the correct values.
Reset the ADF for the server and site.