Difference between revisions of "PT Photo Gallery Photo Manager Styles"

From ADF Docs
Jump to: navigation, search
(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…')
 
Line 1: Line 1:
 
== Overview ==
 
== 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/).     
+
The Photo Gallery Admin manager script is developed with JQuery UI (http://jqueryui.com/).  This library 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.
+
These are the different style effects available for tabs and the general chooser fields.  To change the style, minor updates are needed.
  
 
== Updates ==
 
== Updates ==
Line 15: Line 15:
  
 
== Reset the ADF ==
 
== Reset the ADF ==
Reset the ADF for the server and site.  Enter the following URL parameters into the URL.
+
Reset the ADF for the server and site by entering the following URL parameters into the URL.
  
 
   ?resetServerADF=1&resetSiteADF=1
 
   ?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!).
 
'''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!).
 +
 +
[[Category:Photo Gallery]][[Category:Customization]]

Revision as of 01:26, 21 December 2009

Overview

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

These are the different style effects available for tabs and the general chooser fields. To change the style, minor updates are needed.

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 by entering 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!).