Difference between revisions of "PT Photo Gallery Upload Link CFT"

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://ynodyky.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
----
 
=[http://ynodyky.co.cc CLICK HERE]=
 
----
 
</div>
 
 
== Overview ==
 
== Overview ==
 
The Photo Upload Link custom field type provides a link to create a photo element record.  This is used to integrate a photo field into an element with using the Photo Gallery.   
 
The Photo Upload Link custom field type provides a link to create a photo element record.  This is used to integrate a photo field into an element with using the Photo Gallery.   
Line 14: Line 6:
 
== Import ==
 
== Import ==
 
# Check to see if the ''Photo Upload Link'' custom field type is already imported and active within the site.  If not, then continue following the import steps.  If the custom field type is active in the site, then proceed to the configure section below.
 
# Check to see if the ''Photo Upload Link'' custom field type is already imported and active within the site.  If not, then continue following the import steps.  If the custom field type is active in the site, then proceed to the configure section below.
# Open the ''Field Render Masks &amp; Custom Field Types'' window from the CommonSpot admin.   
+
# Open the ''Field Render Masks & Custom Field Types'' window from the CommonSpot admin.   
 
# Select the ''Import Custom Field Type'' link.
 
# Select the ''Import Custom Field Type'' link.
 
# Browse to the ADF and select the following path and file:
 
# Browse to the ADF and select the following path and file:

Revision as of 17:41, 24 November 2010

Overview

The Photo Upload Link custom field type provides a link to create a photo element record. This is used to integrate a photo field into an element with using the Photo Gallery.

Follow the steps below to import the custom field type, if necessary, and configure the field type within an element.

Import

  1. Check to see if the Photo Upload Link custom field type is already imported and active within the site. If not, then continue following the import steps. If the custom field type is active in the site, then proceed to the configure section below.
  2. Open the Field Render Masks & Custom Field Types window from the CommonSpot admin.
  3. Select the Import Custom Field Type link.
  4. Browse to the ADF and select the following path and file:
    1. '/ADF/apps/pt_photo_gallery/customfields/Photo-Upload-Link-Custom-Field-Type.zip'
    2. Important Note: The imported components render handlers and custom field types must be verified. During the import process the render handler paths may have been changed to reflect the current sites path. Review and update these paths to reference the ADF path. In most cases, this will just require a change in the path from the site name to 'ADF'. Custom field types will need to be unlocked.

Configure

  1. Open the Custom Element field definitions with the Photo Upload Link field.
  2. Add a new field and select the type as Photo Upload Link.
  3. Optional: In the properties tab, you can assign a value to the fields ID attribute. This is usefully when using JQuery or JavaScript to access the fields value via the DOM. Leaving this field blank is also acceptable.