Saturday, May 13, 2017

Dreamweaver MX template not working, not recognized. Dreamweaver MX template not updating files. Template will not apply to page. Dreamweaver MX template not attaching to web pages. Bad File Path, Error Code 3.

If your Dreamweaver MX templates are not attaching to your web pages, it's really an easy fix but if you can't remember the solution, it can drive you crazy, like it was driving me crazy. You know you have this problem when you hit >Modify >Templates >Apply Template to Page..., and a dialog box will show up and you can't see your templates and Dreamweaver MX will say there is a Bad File Path, Error Code 3.

I found the answer to this problem. This solution works if your website files are on your computer's hard drive or on a flash drive (and I would think this works if your files are anywhere else, such as a cloud server online or on a personal cloud server in your home or office).

When you are in Dreamweaver MX and you do this to Edit or Set Up your website:
>Site
>Edit Sites (or New Site)
>Edit (or New)
>Advanced (Tab)
>Local Info (is highlighted)

... you usually press the File Folder Icon to get the pathway on your hard drive (such as this: C:\Libraries\Documents\YourWebsite\ ... or if you are using a flash drive: F:\YourWebsite\).

But sometimes Dreamweaver MX will ONLY copy the HARD DRIVE and INCORRECTLY will show the pathway as this: C:\ (for a flash drive, this: F:\). Therefore, Dreamweaver MX IS NOT COPYING the entire pathway to your website file folder on your hard drive (or flash drive) to your website files.

Dreamweaver MX needs the ENTIRE pathway to your file folder so that the templates will work. The solution is easy (as long as you can remember the solution!).

Go ahead and click on the File Folder Icons to simply START the pathway to make sure you have the CORRECT HARD DRIVE and the correct symbols to this hard drive. This way you know, for sure, that you are telling Dreamweaver MX exactly what drive your website files are on.

Once you get the correct hard drive name and the correct symbols for the pathway (Such as C:\ or F:\), now go back into Local Root Folder box and type in the full pathway name to your website File Folder. Do the same thing for the Images file folder.

For the images file location, just click on the Filer Folder Icon to start get the correct hard drive for your images file folder pathway. Now go back and type the entire pathway in the box so that Dreamweaver actually knows where your website images are located.

Eventually, your Site Definition Dialog Box, in the Advanced Tab, and Local Info category, should probably look something like this, to the right.

That's it. I hope this helps!





Libraries\Documents