PT Photo Gallery Photo Manager Styles

From ADF Docs
Revision as of 02:43, 29 November 2009 by Renee.mckechnie (talk | contribs) (Created page with '== Overview == The Photo Gallery Admin manager script is developed with JQuery UI (http://jqueryui.com/). This provides the capability to style the tabs and datasheets using the…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

The Photo Gallery Admin manager script is developed with JQuery UI (http://jqueryui.com/). This provides the capability to style the tabs and datasheets using the JQuery UI themes (http://jqueryui.com/themeroller/).

These are the style effects for the tabs and the general chooser fields. To change these a small update is requried to a couple files.

Updates

  • /ADF/apps/pt_photo_gallery/customcf/manager_layout.cfm
 <cfscript>
   application.ptPhotoGallery.scripts.loadJQueryUIStyles("ui-lightness", "1.7.1");
 </cfscript>
  • /ADF/apps/pt_photo_gallery/components/photoSizeGC.cfc
 <cfscript>
   variables.JQUERY_UI_THEME = "ui-lightness";
 </cfscript>

Reset the ADF

Reset the ADF for the server and site. Enter the following URL parameters into the URL.

 ?resetServerADF=1&resetSiteADF=1

Note: Resetting the ADF server might affect all sites implementing the ADF. If an error occurs, this could cause sites to go down. Needless to say, updates to the ADF Bean Configs and config files should be done in a controlled development environment (not on production servers!).