Difference between revisions of "PT Photo Gallery Photo Admin Datasheet"
From ADF Docs
(Created page with '== Overview == The Profile element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following sect…') |
|||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | The | + | The Photo Gallery element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following sections will describe how to configure the datasheet to manage the photo element data. |
== Steps == | == Steps == | ||
− | # Open the ''Photo Manager'' page in | + | # Open the ''Photo Manager'' page in author mode. |
# On the first tab labeled "Photo" is a Datasheet element. | # On the first tab labeled "Photo" is a Datasheet element. | ||
# From the Datasheet element interface, click the "Datasheet" icon. | # From the Datasheet element interface, click the "Datasheet" icon. | ||
− | # From the "Datasheet Views" dialog, | + | # From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link. |
# Enter the following information and then click "Next": | # Enter the following information and then click "Next": | ||
## Name: All Photos | ## Name: All Photos | ||
Line 15: | Line 15: | ||
# From the Datasheet Source dialog choose the "Photo" custom element and click "Next". | # From the Datasheet Source dialog choose the "Photo" 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. (PhotoID, Photo, Title, Category, etc...) and then click "Finish". | # From the Datasheet Columns Dialog choose a few columns from the Available Columns list and move them to the Selected Columns list. (PhotoID, Photo, Title, Category, etc...) and then click "Finish". | ||
− | # You will be | + | # You will be directed to the Datasheet View page. Click "Close" to return to your page. |
− | # You will see the datasheet element on this page | + | # You will now see the datasheet element on this page. Click the Datasheet element interface icon again and choose "Edit Columns". |
− | # From the Datasheet View Column Properties dialog, select the ''PhotoID'' column | + | # From the Datasheet View Column Properties dialog, select the ''PhotoID'' column, then edit. Update the following settings for column: |
## Remove the text from the ''Header'' field. | ## Remove the text from the ''Header'' field. | ||
## Change the Render Handler to the following file: ''/ADF/apps/pt_photo_gallery/datasheet-modules/photo-update-edit-form-data.cfm'' | ## Change the Render Handler to the following file: ''/ADF/apps/pt_photo_gallery/datasheet-modules/photo-update-edit-form-data.cfm'' | ||
− | # From the Datasheet View Column Properties dialog, select the ''Category'' column | + | # From the Datasheet View Column Properties dialog, select the ''Category'' column, then edit. Update the following setting for column: |
## Change the Render Handler to the following file: ''/ADF/apps/pt_photo_gallery/datasheet-modules/category-display-render.cfm'' | ## Change the Render Handler to the following file: ''/ADF/apps/pt_photo_gallery/datasheet-modules/category-display-render.cfm'' | ||
− | # From the Datasheet View Column Properties dialog, select the ''Photo'' column | + | # From the Datasheet View Column Properties dialog, select the ''Photo'' column, then edit. Update the following setting for column: |
## Change the Render Handler to the following file: ''/ADF/apps/pt_photo_gallery/datasheet-modules/photo-image-preview-display-render.cfm'' | ## Change the Render Handler to the following file: ''/ADF/apps/pt_photo_gallery/datasheet-modules/photo-image-preview-display-render.cfm'' | ||
# Close the Edit Column window. | # Close the Edit Column window. | ||
# Set the datasheet layout to sort by the ''Title'' field. | # Set the datasheet layout to sort by the ''Title'' field. | ||
# Publish this page. | # Publish this page. | ||
+ | |||
+ | [[Category:Photo Gallery]] |
Revision as of 00:32, 21 December 2009
Overview
The Photo Gallery element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following sections will describe how to configure the datasheet to manage the photo element data.
Steps
- Open the Photo Manager page in author mode.
- On the first tab labeled "Photo" is a Datasheet element.
- 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 Photos
- Private: unchecked
- Default View: unchecked
- Description: View to manage all of the photos
- Datasheet Source: Form Result/Custom Element Sheet
- From the Datasheet Source dialog choose the "Photo" 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. (PhotoID, Photo, Title, Category, etc...) and then click "Finish".
- You will be directed to the Datasheet View page. Click "Close" to return to your page.
- You will now see the datasheet element on this page. Click the Datasheet element interface icon again and choose "Edit Columns".
- From the Datasheet View Column Properties dialog, select the PhotoID column, then edit. Update the following settings for column:
- Remove the text from the Header field.
- Change the Render Handler to the following file: /ADF/apps/pt_photo_gallery/datasheet-modules/photo-update-edit-form-data.cfm
- From the Datasheet View Column Properties dialog, select the Category column, then edit. Update the following setting for column:
- Change the Render Handler to the following file: /ADF/apps/pt_photo_gallery/datasheet-modules/category-display-render.cfm
- From the Datasheet View Column Properties dialog, select the Photo column, then edit. Update the following setting for column:
- Change the Render Handler to the following file: /ADF/apps/pt_photo_gallery/datasheet-modules/photo-image-preview-display-render.cfm
- Close the Edit Column window.
- Set the datasheet layout to sort by the Title field.
- Publish this page.