PT Photo Gallery Photo Admin Datasheet

From ADF Docs
Revision as of 00:10, 23 November 2009 by Renee.mckechnie (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 sections will describe how to configure the datasheet to manage the photo element data.

Steps

  1. Open the Photo Manager page in authormode.
  2. On the first tab labeled "Photo" is a Datasheet element.
  3. From the Datasheet element interface, click the "Datasheet" icon.
  4. From the "Datasheet Views" dialog, click the "Click here to create a new datasheet view" text.
  5. Enter the following information and then click "Next":
    1. Name: All Photos
    2. Private: unchecked
    3. Default View: unchecked
    4. Description: View to manage all of the photos
    5. Datasheet Source: Form Result/Custom Element Sheet
  6. From the Datasheet Source dialog choose the "Photo" custom element and click "Next".
  7. 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".
  8. You will be brought to the Datasheet View page click "Close" to return to your page.
  9. You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
  10. From the Datasheet View Column Properties dialog, select the PhotoID column and then edit. Update the following setting for column:
    1. Remove the text from the Header field.
    2. Change the Render Handler to the following file: /ADF/apps/pt_photo_gallery/datasheet-modules/photo-update-edit-form-data.cfm
  11. From the Datasheet View Column Properties dialog, select the Category column and then edit. Update the following setting for column:
    1. Change the Render Handler to the following file: /ADF/apps/pt_photo_gallery/datasheet-modules/category-display-render.cfm
  12. From the Datasheet View Column Properties dialog, select the Photo column and then edit. Update the following setting for column:
    1. Change the Render Handler to the following file: /ADF/apps/pt_photo_gallery/datasheet-modules/photo-image-preview-display-render.cfm
  13. Close the Edit Column window.
  14. Set the datasheet layout to sort by the Title field.
  15. Publish this page.