| Dreamweaver Tutorials Click here to order step by step videos now! (link opens in new window) |
|
|---|---|
Recommended Resources Free Website Traffic! ![]() Get Thousands (Or Even Millions) Of Visitors To Your Sites With Free Online Video Sites... ![]() “Create A Hot Selling Sales Letter...Without Writing!” (A Cool, Useful Product!) ![]() Learn HTML The Easy Way With Step By Step Videos ![]() Are You Shredding Your Business Documents? Learn State Requirements now... ![]() Want to sell eBooks for instant download as PDF? It's an automated business! Click here to learn how! 1 On 1 Dreamweaver Tutoring $50/Hour. Space Limited. Contact us for details Click here only if you use Microsoft FrontPage Internet Marketing eBooks Web Audio Plus: Put your voice on webpage Just $9.95! Dreamweaver Tutorial Links 1: Creating A Site Profile In Dreamweaver 2: Creating A Developement Folder In Dreamweaver 3: Creating Tables With Dreamweaver 4: Creating Hyperlinks And Bookmarks With Dreamweaver 5: Modify Fonts In Dreamweaver Using HTML & CSS 6: Using the SHIFT + ENTER <BR> Tag 7: Using Server Side Include Files With Dreamweaver 8: Using The Find and Replace & Check Spelling Functions In Dreamweaver 9: Changing File Permissions And Installing Scripts With Dreamweaver 10: Previewing Dreamweaver Web Pages In Browser 11: Inserting Images, Pictures Into Web Pages With Dreamweaver 12: Comments With Dreamweaver 13: Using Dreamweaver Templates .DWT Files 14: Creating A Sitemap With Dreamweaver 15: Using CSS In Dreamweaver |
Using Server Side Include Files With DreamweaverAhh, server side includes...one of my favorite topics in website building...Why you ask? Well, they are a huge time saver...let me explain: When I was a newbie to creating websites, I would create a site with maybe 10 pages, each of them linked together with a navigation bar at the top of the page. However, when I want to add page #11 and #12, I would have to open up each of the 10 pages and add a link to the navigation area in all of them! This is just one example of how not using server side includes can waste your time. What server side includes do is make it so you can 'include' the content of 1 webpage in another webpage. The idea, at least for the example above, is to include an html page like 'navigation.html' in all 10 of the webpages...and then if I want to add a few links to the navigation bar, I simply open up the 1 webpage, navigation.html and add the links, save it, and then all 10 other pages are automatically updated! You can see how much time this can save you, and SSI (server side includes) are useful for many other things too! You can use SSI to include Adsense code in all your webpages...and then if you decide you want to try a different background color, simply change the code in the 1 file and update all the pages on your site which include that file! Dreamweaver does a great job of helping webmasters to use SSI more frequently...In fact all you have to do is click the SSI button: ![]() and then choose which file you want to include. It is useful to include files in your sites core template...Personally, I like to use 2 or 3 per page because it make your webpages more flexible and easier to update. There are some things you need to know though when using SSI. 1. There are 2 types of SSI available in Dreamweaver: File & Virtual To include a file usually entails including a file in the same folder. Example: < !--#include file="ssisample.html" --> To include a virtual file usually mean to include a file that is in the root of your folder example: <!--#include virtual="/ssisample.html" --> might be used if the file is located in the root directory of your server. It is easy enough to experiment and see how it works, and once you grasp how to use SSI, building and updating websites will become faster and easier. 2. Your server must allow you to parse HTML files...Most servers do, will the small condition that you have to name your files with the .shtml file extenstion. Personally, I prefer to modify my .htaccess code so that I can use SSI in any HTML file, and it is easy to do... Just use notepad to create a file with the following contents: Options Includes AddType text/html .html AddHandler server-parsed .html AddHandler server-parsed .htm and save it as just .htaccess (not htaccess.txt) Then upload that to your server...this works on most webservers... If it doesn't you can use the .shtml filename for your webpages, or use PHP includes which works just the same as other includes, only the webpage must have the php file extension. 3. The page you include doesn't have the <html>, <head>, <body> tags... The page you include just needs to have the code you want to include, so remember to switch to code view and delete out everything before you create your file. Start with a totally blank page and create your links or your banner, or whatever you want to include in your other pages. SSI is very important and very easy to use once you get the hang of it. I show you step by step in detail how to use SSI in the Dreamweaver Videos... Learn Dreamweaver Visually: The best way to learn is to learn visually with the step by step Dreamweaver videos membership. You'll get instant access to over 25 videos, plus useful bits of code (such as the code to create Dreamweaver webforms that will send form results to email) and much more! Click here to learn what you'll get in the membership area. HELP ME TO HELP YOU! If You Aren't Ready To Order Now, Can You Please Tell Me What's Preventing You From Ordering Today? Hi there...this is Jesse, creator of the Dreamweaver-How-To training videos. I am really sure I can help you learn what you want to learn about website design, and I was wondering... What exactly is it that is preventing you from ordering access to the members are today? Any details you can tell me will really help to make this the best offer possible and I may write back a personal email to answer your questions or concerns. Is it the cost? Are you not sure you need training? are you looking at other training courses? Please, fill in as much detail as you can below. |
| Copyright 2007 All Rights Reserved | |