Difference between revisions of "PT Photo Gallery Gallery Element"
Line 3: | Line 3: | ||
== Setup == | == Setup == | ||
− | + | 1. Import the ''Photo Gallery'' custom element. | |
'''Note:''' Verify the paths of the render handler and the imported custom field types point to the ''ADF'' mapping, not the current site's mapping. | '''Note:''' Verify the paths of the render handler and the imported custom field types point to the ''ADF'' mapping, not the current site's mapping. | ||
'''Note:''' This element contains the ''General Chooser'' field type. If the ''General Chooser'' field type is already installed on the site then the import process will attempt to import another ''General Chooser'' with a new name. To resolve this issue, open the ''Profile Select'' custom element and assign the field type to the field type with the simple name ''General Chooser''. After reassigning the field type, you can delete the new imported field from the list of custom field types. | '''Note:''' This element contains the ''General Chooser'' field type. If the ''General Chooser'' field type is already installed on the site then the import process will attempt to import another ''General Chooser'' with a new name. To resolve this issue, open the ''Profile Select'' custom element and assign the field type to the field type with the simple name ''General Chooser''. After reassigning the field type, you can delete the new imported field from the list of custom field types. | ||
− | + | 2. Update the ''Photo Select'' field with the bean name property of ''PhotoGC''. | |
== Demo== | == Demo== |
Revision as of 01:13, 21 December 2009
Overview
A Photo Gallery custom element was developed based on the general chooser functionality, which provides the functionality to select Photo element records to associate with the custom element. This custom element also provides searching and sorting capabilties.
Setup
1. Import the Photo Gallery custom element. Note: Verify the paths of the render handler and the imported custom field types point to the ADF mapping, not the current site's mapping. Note: This element contains the General Chooser field type. If the General Chooser field type is already installed on the site then the import process will attempt to import another General Chooser with a new name. To resolve this issue, open the Profile Select custom element and assign the field type to the field type with the simple name General Chooser. After reassigning the field type, you can delete the new imported field from the list of custom field types. 2. Update the Photo Select field with the bean name property of PhotoGC.
Demo
To set up a demo of the Photo Gallery custom element, follow these steps:
- Create a new page and place the Photo Gallery element on the page.
- Assign a Custom Render Handler from the list below:
- Listing Display - This render handler has the Photo Size Render metadata form that can be used to control the rendering size. Import this metadata form if not imported into the site yet. Bind this metadata form to the Profile Select Listing Display render handler.
- Banner Photos - Flash rotating photo display.
- Carousel Display - JQuery JCarousel plugin based photo displaying a carousel of the selected photos.
- GalleryView Display - JQuery GalleryView plugin based photo display.