Difference between revisions of "PT Photo Gallery Photo Admin Datasheet"

From ADF Docs
Jump to: navigation, search
m (Reverted edits by Ecaxabu (Talk) to last revision by Mcarroll)
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://abaviteha.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
----
 
=[http://abaviteha.co.cc CLICK HERE]=
 
----
 
</div>
 
 
== Overview ==
 
== 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.
 
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.
Line 12: Line 4:
 
== Steps ==
 
== Steps ==
 
# Open the ''Photo Manager'' page in author mode.
 
# Open the ''Photo Manager'' page in author mode.
# On the first tab labeled &quot;Photo&quot; is a Datasheet element.
+
# On the first tab labeled "Photo" is a Datasheet element.
# From the Datasheet element interface, click the &quot;Datasheet&quot; icon.
+
# From the Datasheet element interface, click the "Datasheet" icon.
# From the &quot;Datasheet Views&quot; dialog, follow the &quot;Click here to create a new datasheet view&quot; link.
+
# From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link.
# Enter the following information and then click &quot;Next&quot;:
+
# Enter the following information and then click "Next":
 
## Name: All Photos
 
## Name: All Photos
 
## Private: unchecked
 
## Private: unchecked
Line 21: Line 13:
 
## Description: View to manage all of the photos
 
## Description: View to manage all of the photos
 
## Datasheet Source: Form Result/Custom Element Sheet
 
## Datasheet Source: Form Result/Custom Element Sheet
# From the Datasheet Source dialog choose the &quot;Photo&quot; custom element and click &quot;Next&quot;.
+
# From the Datasheet Source dialog choose the "Photo" custom element and click "Next".
# From the Datasheet Columns Dialog select the columns PhotoID, Photo, Title, Category from the Available Columns list and move them to the Selected Columns list and then click &quot;Finish&quot;.
+
# From the Datasheet Columns Dialog select the columns PhotoID, Photo, Title, Category from the Available Columns list and move them to the Selected Columns list and then click "Finish".
# You will be directed to the Datasheet View page. Click &quot;Close&quot; to return to your page.
+
# 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 &quot;Edit Columns&quot;.
+
# 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:
 
# 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.

Revision as of 17:40, 24 November 2010

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

  1. Open the Photo Manager page in author mode.
  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, follow the "Click here to create a new datasheet view" link.
  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 select the columns PhotoID, Photo, Title, Category from the Available Columns list and move them to the Selected Columns list and then click "Finish".
  8. You will be directed to the Datasheet View page. Click "Close" to return to your page.
  9. You will now see the datasheet element on this page. Click the Datasheet element interface icon again and choose "Edit Columns".
  10. From the Datasheet View Column Properties dialog, select the PhotoID column, then edit. Update the following settings 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, 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, 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 and results per page to 25.
  15. Publish this page.