I downloaded a site that uses templates and the files do not open properly. I also downloaded a site that does not use templates and all of those files load correctly. What should I do differently for the site using templates?
James M B wrote:
the files do not open properly.
Hi Jim -
Sorry to say that your post is not very informative.
Are you using a DW template, or just a model template for a website?
What view(s) are you using and what are you seeing?
If you are serious about a quick, accurate answer, please find some web space you can use, and upload all necessary files, and post a link for us to assist you.
Some web browsers will not open a .dwt file (.dwt stands for Dreamweaver Template). You can change the associations for files in your operating system, by right (or [control]-) clicking on the file and choosing "Get Info" from the popup dialog window.
Then, in the "Get Info" window, choose "Open With" and pick the application you wish associated with the file.
Also, within Dreamweaver, you can set up what web browsers will preview a file by going to Preferences>Preview in Browser and choosing the browser(s) you want to preview your documents in. You can also pick which browser you wish to have as your primary. That will usually be [option]-[F12] to preview.
If you are working with Macintosh, you ought to download and install the Big Three browsers: Safari (which came with your Mac) Firefox and Google's Chrome.
Microsoft has chosen to quit producing Internet Exploiter for Macintosh, despite the fact that lots of people develop websites on Macintosh (and they whine when their browser is ill-supported). I did find that they're offering something for Macintosh, but it's virtualization and I have not tested it.
You need to test for IE7, 8. 9 and assume 10 is going to be compliant (though it's probably not). The Microsoft solution may not let you test all three.
Since Apple, Mozilla and Google provide automatic updates, you don't need to support old versions of those three browsers. And Nancy O. tends to suggest that ending support for older versions of Microsoft's browser is worth not doing. I, personally have one website that I have decided to not support versions below Internet Exploder 9 and another that uses the same feature is under development.
I am trying to open an HTML file that was created with a .DWT by someone else. The file performs correctly on the web, however, when I downloaded the file "default.html" and tried to open it with Dreamweaver CS6 , Mac Trial version, the design view just displays text. The Design/Live view also just displays text.
I have also downloaded another site that does not use any templates and all views displays perfectly. It appears that the files is not extracting the template data.
I also use Dreamweaver CS5.5 for PC and am able to download and display all files correctly.
Thanks for the additional information...
Since it's OK on a PC, this unfortunately, this sounds like a MAC issue so I can not help further.
May I suggest you post a link to the online page and hopefully someone with your version can shed some light.
Best of luck
This has nothing to do with whether or not you are using OS X or Windows.
And a Dreamweaver template is, simply, an HTML document …unless it isn't.
You can make a template out of a .php, .asp or ColdFusion document, you know. And, if the document identifies itself as such, you may just see code in a browser window.
Though, if you have Dreamweaver set to show code only (and not design view) you could also get this.
if you have Dreamweaver set to show code only (and not design view) you could also get this.
This is not a Mac problem.
I did not suggest some kind of universal MAC problem. Just that the OP's MAC is the only place the problem is showing up, and I don't use a MAC.
I think you may be on to something with the code settings possibility.
Ken, we should talk…
Fact is, I could have you un and running with Dreamweaver on a Mac in about three minutes. It is, essentially the same application. Adobe hewed to the same general user interface across both platforms. Furthermore, all other common applications are so similar that you'd think you were on a PC, save for the context-switched top menu and, what I consider to be easier management of the system and its health.
Microsoft has done a remarkable job of emulating the Mac OS (with very few minor exceptions) for 23 years in terms of look and feel. You'd feel right at home, using Dreamweaver on a Mac.
With respect to the OP, I find that, if I co not tell Dreamweaver to preview a page with mixed (server-side and HTML) code in a web browser and click on a link to a mixed page, the browser will simply display the code.
And, of course, Dreamweaver can show only code.
Thanks for responding. However, I don't think that you understand my question.
Very simply, I am trying to open multiple .html files from two different websites that I manage, on the same IMac using the same Dreamweaver CS6 (trial version). All of the files from one website work perfectly. None of the files on the other website will display in Design Mode or Design Live. The main difference in the two websites is that the one that displays correctly does NOT use templates of any kind. The one that will not display any files correctly, all files use .DWT Dreamweaver templates.
This tells me that it is not a Mac problem, or a dreamweaver problem, but probably a setting in Dreamweaver.
In Dreamweaver for PC, I think files are displayed using a "local server". Does Dreamweaver for Mac use a local server?
Could this be somehow related to where the templates are stored?
All of the files were downloaded via FTP using Dreamweaver.
Thanks for the help.
By everything you are describing to us, I am becoming convinced you have server-side code mixed in to those templated pages and that is the problem. You're saying the code, not the page displays—that's a red flag. And now you're saying that you think you might need a local server—that's another.
You may need to create a local testing server to see those pages. You can do that on your Mac using something called MAMP.
Again, nothing is wrong with your Mac or Dreamweaver here, it's just expecting something you don't have configured.
Think of it this way.
Local Site Folder = a folder with all your site files on your local computer hard drive. C:\YourSiteName
Remote Site = a commercial web server where you host your public site.
Local Testing server = a server on your hard drive for purposes of previewing and testing pages that contain server-side code.
From all you've described so far, your Template probably contains code that requires a server to parse the content. For Mac, install either XAMPP or MAMP.