Difference between revisions of "PT Photo Gallery Photo Manager Styles"
From ADF Docs
m (moved Photo Manager Change Styles to Change Photo Manager Styles: changed to user-friendly title) |
(→Updates) |
||
Line 6: | Line 6: | ||
== Updates == | == Updates == | ||
* /ADF/apps/pt_photo_gallery/customcf/manager_layout.cfm | * /ADF/apps/pt_photo_gallery/customcf/manager_layout.cfm | ||
− | + | <source lang="java"> | |
− | + | application.ptPhotoGallery.scripts.loadJQueryUIStyles("ui-lightness", "1.7.1"); | |
− | + | </source> | |
+ | |||
* /ADF/apps/pt_photo_gallery/components/photoSizeGC.cfc | * /ADF/apps/pt_photo_gallery/components/photoSizeGC.cfc | ||
− | + | <source lang="java"> | |
− | + | variables.JQUERY_UI_THEME = "ui-lightness"; | |
− | + | </source> | |
== Reset the ADF == | == Reset the ADF == |
Revision as of 12:23, 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";
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!).