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…')
 
 
(4 intermediate revisions by 2 users not shown)
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 ==
 
* /ADF/apps/pt_photo_gallery/customcf/manager_layout.cfm
 
* /ADF/apps/pt_photo_gallery/customcf/manager_layout.cfm
  <cfscript>
+
<source lang="java">
    application.ptPhotoGallery.scripts.loadJQueryUIStyles("ui-lightness", "1.7.1");
+
application.ptPhotoGallery.scripts.loadJQueryUIStyles("ui-lightness", "1.7.1");
  </cfscript>
+
</source>
 +
 
 
* /ADF/apps/pt_photo_gallery/components/photoSizeGC.cfc
 
* /ADF/apps/pt_photo_gallery/components/photoSizeGC.cfc
  <cfscript>
+
<source lang="java">
    variables.JQUERY_UI_THEME = "ui-lightness";
+
variables.JQUERY_UI_THEME = "ui-lightness";
  </cfscript>
+
</source>
 
 
== Reset the ADF ==
 
Reset the ADF for the server and site.  Enter the following URL parameters into the URL.
 
  
  ?resetServerADF=1&resetSiteADF=1
+
'''Note''': [[Reset ADF|Reset the ADF]] for any changes.
  
'''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]]

Latest revision as of 12:25, 26 March 2010

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
application.ptPhotoGallery.scripts.loadJQueryUIStyles("ui-lightness", "1.7.1");
  • /ADF/apps/pt_photo_gallery/components/photoSizeGC.cfc
variables.JQUERY_UI_THEME = "ui-lightness";

Note: Reset the ADF for any changes.