Difference between revisions of "PT Photo Gallery Configuration"
(→Steps) |
|||
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. (CE_FORM_ID | + | # From the Datasheet Columns Dialog choose a few columns from the Available Columns list and move them to the Selected Columns list. (CE_FORM_ID, UPLOAD_URL, 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 39: | Line 39: | ||
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. | ||
− | Go to the Add Configuration page and submit the form to create one record. | + | 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 [[PT_Photo_Gallery Site_Configuration|Site Configuration]] wiki page for more information on the fields and the correct values. | See the [[PT_Photo_Gallery Site_Configuration|Site Configuration]] wiki page for more information on the fields and the correct values. | ||
− | The ADF needs to be reset for the server and site for these | + | The ADF needs to be reset for the server and site for these configuration updates to take effect. Enter the following URL parameter string to any page call within the site: |
?resetServerADF=1&resetSiteADF=1 | ?resetServerADF=1&resetSiteADF=1 | ||
'''Note: Resetting the ADF server might affect all sites implementing the ADF.''' If an error occurs, this could cause sites to go down. Needless to say, updates to the ADF Bean Configs and config files should be done in a controlled development environment (not on production servers!). | '''Note: Resetting the ADF server might affect all sites implementing the ADF.''' If an error occurs, this could cause sites to go down. Needless to say, updates to the ADF Bean Configs and config files should be done in a controlled development environment (not on production servers!). | ||
[[Category:Photo Gallery]] | [[Category:Photo Gallery]] |
Revision as of 20:50, 24 March 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. (CE_FORM_ID, UPLOAD_URL, 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" again.
- 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
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.
The ADF needs to be reset for the server and site for these configuration updates to take effect. Enter the following URL parameter string to any page call within the site:
?resetServerADF=1&resetSiteADF=1
Note: Resetting the ADF server might affect all sites implementing the ADF. If an error occurs, this could cause sites to go down. Needless to say, updates to the ADF Bean Configs and config files should be done in a controlled development environment (not on production servers!).