Ready to watch this entire course?
Become a member and get unlimited access to the entire skills library of over 4,900 courses, including more Developer and personalized recommendations.Start Your Free Trial Now
- View Offline
- Installing XAMPP on a Windows system
- Installing MAMP on a Mac system
- Using admin consoles
- Creating PHP pages
- Commenting code
- Working with web forms
- Adding custom validation
- Using redirects
- Dealing with email issues
Skill Level Intermediate
We're going to now take a look at how to preview your web pages, in the browser. The assumption here is you have installed either XAMPP or MAMP, they're turned on, you've installed the course files, and you've also set up your site within Dreamweaver, and told Dreamweaver about the testing server. If any of that has not been done, please go back and review those movies, because you will need all of that installed in order for this section to show your webpage.
What I'm going to do is open up the About Us page. This is our website, it's a Scuba Vacations Tour Company, we create scuba vacations for people. So, what we want to do is take a look at how to preview our pages within Dreamweaver specifically. So, what we have first off is this Live view. And this live view button takes the Dreamweaver design view and converts it in to a little mini browser view. Now, there are things that are grayed out you can see my total insert bar is grayed out.
It doesn't allow editing of the page, so in Live view you cannot edit. I can't select and Edit Text within this text, so Live view is just a quick and easy way to see your browser or get an idea of what it would look like in the browser. This is great for when you are working in database data, to get a quick idea of whether or not the correct data is coming in and what your page would look like, populated with database data. I'm going to turn off live view by clicking it one more time. You can see my insert bar is now active once again. The other way you can preview your web page in the browser Is by clicking this Globe button and whichever browsers you had installed on your system when Dreamweaver was installed those will be pulled into this area automatically. You can certainly add additional browsers, there are only two prebuilt shortcuts for browsers however.
If you wanted to add additional browsers you click this at it Browser list. And you'd be taken out to the Preferences area within Dreamweaver to the preview in browser category where you can add another browser by clicking this button. Within this area there is also a way to look at your web pages based on a mobile device. And that area is known as device central. Adobe Browser Lab is an online service that you can use to preview your pages in different operating systems and different browsers.
So, we'll be working in these first two for this course to preview pages. So I'll put this page in Firefox. And there's our website all set up in the browser, so we know for sure that our website is working on our testing server. There are two pages that are being brought in by PHP, and that's what's pulling in our header and footer on this page. Because I'm able to see the header and footer, notice these are .PHP pages.
I know that my testing server is working. If, for any reason, you are not seeing any of these images and these areas of the page, please go back through the course setup movies to make sure everything is set up correctly. Also, confirm that your web server is turned on, in XAMPP or MAMP. But we know everything's set up, and that's how we can preview in the browser, from right within Dreamweaver.