Entry for August 10, 2007
Before folks go modifying their Dreamweaver CS3 installs manually, let me just explain how Dreamweaver handles the Spry files so you know exactly what goes on. This post is long, but read it in its entirety.
MAKE A BACKUP OF ANYTHING YOU PLAN ON CHANGING/UPDATING, JUST IN CASE YOU NEED TO RESTORE IT.
Dreamweaver only copies Spry files to your site if you save a page in which you've added a Spry Widget, Effect, and/or DataSets/Regions. It does this copy when you save, but it will only copy the files to your site if the file does not already exist in your site, that way it doesn't blow away any Spry file you may have modified in your site. Dreamweaver only copies the minimal set of files necessary to support whatever it is you added to your page, so if you've added an accordion to your page, it only checks for the existence of SpryAccordion.js and SpryAccordion.css before it actually copies those 2 files into your site.
That all said, if you already have say an Accordion in one of your pages in your site, you should already have a SpryAssets folder with the 1.4+ SpryAccordion.js and SpryAccordion.css in it. If you replace your Spry 1.4+ copies of SpryAccordion.js and SpryAccordion.css in your Dreamweaver Configuration directory, and then you create a new file for your site which uses an Accordion, it will *NOT* copy over the 1.5 versions of the file from the Configuration directory into your Site's SpryAssets directory because DW wants to play it safe and not overwrite the existing ones in your site. This means you will also have to manually copy the 1.5 files to your site if you want your site updated too.
After you update your Dreamweaver configuration folder to contain the 1.5 files, if you create a new site, or create new page in an existing site and add a widget, or effect that you have never used before, the 1.5 versions will be copied into the site. All of these Spry files are independent of each other, so you should be able to mix 1.4 and 1.5 files with no problems.
That all said, we are working on an extension that will help folks install the latest Spry files into their installed Dreamweaver configuration *and* into their sites. At this point in time, we cannot commit to an e.t.a. for this extension yet, but we will keep folks posted.
Here are the paths to the Spry 1.4+ files in the Installed Dreamweaver Configuration folder which you will need to update:
Configuration/Shared/Spry/Data/SpryData.js
Configuration/Shared/Spry/Data/SpryXML.js
Configuration/Shared/Spry/Data/xpath.js
Configuration/Shared/Spry/Effects/SpryEffects.js
Configuration/Shared/Spry/Widgets/Accordion/SpryAccordion.css
Configuration/Shared/Spry/Widgets/Accordion/SpryAccordion.js
Configuration/Shared/Spry/Widgets/CollapsiblePanel/SpryCollapsiblePanel.css
Configuration/Shared/Spry/Widgets/CollapsiblePanel/SpryCollapsiblePanel.js
Configuration/Shared/Spry/Widgets/MenuBar/SpryMenuBar.js
Configuration/Shared/Spry/Widgets/MenuBar/SpryMenuBarHorizontal.css
Configuration/Shared/Spry/Widgets/MenuBar/SpryMenuBarVertical.css
Configuration/Shared/Spry/Widgets/TabbedPanels/SpryTabbedPanels.css
Configuration/Shared/Spry/Widgets/TabbedPanels/SpryTabbedPanels.js
Configuration/Shared/Spry/Widgets/ValidationCheckbox/SpryValidationCheckbox.css
Configuration/Shared/Spry/Widgets/ValidationCheckbox/SpryValidationCheckbox.js
Configuration/Shared/Spry/Widgets/ValidationSelect/SpryValidationSelect.css
Configuration/Shared/Spry/Widgets/ValidationSelect/SpryValidationSelect.js
Configuration/Shared/Spry/Widgets/ValidationTextarea/SpryValidationTextarea.css
Configuration/Shared/Spry/Widgets/ValidationTextarea/SpryValidationTextarea.js
Configuration/Shared/Spry/Widgets/ValidationTextField/SpryValidationTextField.css
Configuration/Shared/Spry/Widgets/ValidationTextField/SpryValidationTextField.js
Here are the paths to the files in the Spry 1.5 zip file:
includes/SpryData.js
includes/SpryXML.js
includes/xpath.js
widgets/accordion/SpryAccordion.css
widgets/accordion/SpryAccordion.js
widgets/checkboxvalidation/SpryValidationCheckbox.css
widgets/checkboxvalidation/SpryValidationCheckbox.js
widgets/collapsiblepanel/SpryCollapsiblePanel.css
widgets/collapsiblepanel/SpryCollapsiblePanel.js
widgets/menubar/SpryMenuBar.js
widgets/menubar/SpryMenuBarHorizontal.css
widgets/menubar/SpryMenuBarVertical.css
widgets/selectvalidation/SpryValidationSelect.css
widgets/selectvalidation/SpryValidationSelect.js
widgets/tabbedpanels/SpryTabbedPanels.css
widgets/tabbedpanels/SpryTabbedPanels.js
widgets/textareavalidation/SpryValidationTextarea.css
widgets/textareavalidation/SpryValidationTextarea.js
widgets/textfieldvalidation/SpryValidationTextField.css
widgets/textfieldvalidation/SpryValidationTextField.js
To answer ColdSun's question regarding the CSS files. With the exception of SpryValidationTextField.css, there were no significant changes to the CSS files between Dreamweaver's 1.4+ version and Spry 1.5 except for comment corrections. For the SpryValidationTextField.css we added an extra dummy rule to show folks that there is now a behavior class that allows you to style Hint Text differently. As I mentioned, even if you install these new CSS files, Dreamweaver will *NOT* overwrite the CSS file with the same name in your site.
Remember:
MAKE A BACKUP OF ANYTHING YOU PLAN ON CHANGING/UPDATING, JUST IN CASE YOU NEED TO RESTORE IT!
And one last thing:
MAKE A BACKUP OF ANYTHING YOU PLAN ON CHANGING/UPDATING, JUST IN CASE YOU NEED TO RESTORE IT.
:-)