This example is valid for Dynamic and Folders-Files TreeView.
To define a new skin you must before now how the skin is defined:
Each skin has 4 images and 2 css style file.
The images are in the folder dwzComboTreeView/images/FileIcone folder and
the style class are in the file dwzComboTreeView folder
Each skin must have the images and the style file class for the dimensions 16 pixels and 32 pixels
This folders are in the configuration dreamweaver folder that is located in:
For Vista users:
G:\Users\<User>\ApplicationData\Adobe\Dreamweaver CS4\en_US\Configuration\Shared\DwZone\php\ComboTreeView\
For Xp users:
G:\Document and Settings\<User>\AppData\Roaming\Adobe\Dreamweaver CS4\en_US\Configuration\Shared\DwZone\php\ComboTreeView\
For example imagine you want create a new skin start from the current red skin and call the new skin "custom", you must:
Create the 4 images for the open and close folders, you can copy the current images:
dwzComboTreeView/images/FileIcone/16/RedClose16.gif
dwzComboTreeView/images/FileIcone/16/RedOpen16.gif
dwzComboTreeView/images/FileIcone/32/RedClose32.gif
dwzComboTreeView/images/FileIcone/32/RedOpen32.gif
and create 4 new images with the name of your new skin, like:
dwzComboTreeView/images/FileIcone/16/CustomClose16.gif
dwzComboTreeView/images/FileIcone/16/CustomOpen16.gif
dwzComboTreeView/images/FileIcone/32/CustomClose32.gif
dwzComboTreeView/images/FileIcone/32/CustomOpen32.gif
Duplicate the 2 style class files:
dwzComboTreeView/folder.Red.16.css
dwzComboTreeView/folder.Red.32.css
and create 2 new files with the name of your new skin, like:
dwzComboTreeView/folder.Custom.16.css
dwzComboTreeView/folder.Custom.32.css
Now you must open this 2 new files in Dreamweaver and replace all the occurrences of Red in custom
Now you can open dreamweaver and you will find the new skin in the skin list