Copy link to clipboard
Copied
I used to use Microsoft Edge in the real time preview to view my work. It worked fine. However because I had to work with AJAX and php files, I set up a local host/server (Apache server/localhost:80) and that works well.
I now want to return to previewing my work, not through the local host, but Microsoft Edge or Chrome, as orignally done, before I inserted the local host/server.
Does anyone know how I can return Dreamweaver's original real-time preview and stop having to use the local server? Also, if you could spare me the time and effort, if I want to return to my local host/server, how do I flip back to that local host/server, after I hopefully am able to preview my work in Edge or Chrome.
Thanks, Gary
Copy link to clipboard
Copied
try checking/unchecking 'default to static browser preview' for two different approaches to browser prevew. Find in edit => preferences => real-time preview
Copy link to clipboard
Copied
Or just right-click on open document tab and select Open In Browser.
Copy link to clipboard
Copied
Thanks Paul and Nancy for your efforts. Neither advice resolved the issue. Regards, Gary
Copy link to clipboard
Copied
Out of interest, how you accessing the browser preview function? Am I right in saying you want to preview as local files rather than a localhost url? In that case you might need to remove your local testing server from the site definition preferences..
Copy link to clipboard
Copied
No Paul, what I wanted to do was preview the files as a localhost. I need to work with JSON and php files within javascript files, using jQuery as a shortcut for the AJAX. I needed to avoid running into the CORS policy concerning cross browser usage. I kind of resolved the issue by downloading/using xampp and using their Apache server, without interfering with Dreamwaver's real-time preview workings. However, as much as I love Dreamweaver, I wish that Adobe would be a little more informative about the 'higher levels' of web page development, rather than leave it to remote providers and the megabucks which that involves paying out. Thanks for your interest and efforts, regards Gary.
Copy link to clipboard
Copied
...as much as I love Dreamweaver, I wish that Adobe would be a little more informative about the 'higher levels' of web page development, rather than leave it to remote providers and the megabucks which that involves paying out.
==========
Huh?
I use Wamp server which is similar to Xampp except it uses www default web folder, Xampp use htdocs. Otherwise, the set-up is the same.
Servers
Basic tab:
Advanced tab:
Final screen with Testing and Remote servers defined.
Now I highly recommend turning off Real-Time Preview (as Paul described). In my experience, RTP doesn't play nice with localhost.
Copy link to clipboard
Copied
Thanks Nancy that was really helpful. I originally tried setting up Wamp, using an instructor on Linkedin educational site, advised by David Powers, but I couldn't get it working. So I downloaded xampp and used an Udemy course on setting that up. I will definitely follow your advice on the real-time preview. Thanks and regards, Gary.