Web Design Information |
Using Server Side Includes to Simplify Your Web Design
An "include" file is a piece of code that can be put into a seperate file -- for example -- your navigation bar -- and then "included" in a number of other pages. This has the very useful advantage of allowing you to retain consistency over a very large number of pages, and then make changes to all of those pages by just changing the include file. For instance, say you want each page in your site to include a short paragraph that uniquely identifies your site. I normally call this a "site-id". It would read something like this: ForSaleTours.com - provides information and sources for virtual tours for the real estate industry. We explain different methods of combining video and audio to produce virtual representations of your home to enhance its value and to make the purchasing experience of potential buyers better than it otherwise might be. To set this up so it appears in a host file as an "include", you normally have to do three things: 1. Make sure your server allows SSI (server side includes). If you have access to your web site control panel you should be able to figure this out. Or if not, ask your web host technical support people. 2. Create a "host" file and give it a file extension so your server recognizes it contains include files. A common extension is .shtml 3. Create your include file. It can usually have any of a number of different extensions: .html, .htm, .php, even .txt. This is the file that will be included within other files. 4. Embed the correct code within your .shtml file to point to the include file. If the include file and host file are in the same folder on the server, it will look like this: <!--#include file="file_name.html"--> If the include file is located in a different folder (on the same server), the code will look like this: <!--#include virtual="folder_name/file_name.html"--> In the above example you have to make sure the relative path to the include file is set correctly. Now when you want to make a global change to, for instance, your "site-id", you just have to change the include file (once), and this change will be populated through all the pages that include that file. Include files can be put to many creative uses that allow you to do things that are otherwise very impractical. And if you have a website with a large number of pages, this technique can save you a great deal of time. For more web design and online marketing tips see the Linknet Marketing Resource Library Rick Hendershot is a marketing consultant, writer, and internet publisher who lives in Conestogo, Ontario, Canada. He publishes several websites and blogs, including The Linknet Network of Websites. This network provides an inexpensive way to advertise your website, and get as many as 100 low cost links.
MORE RESOURCES: Unable to open RSS Feed $XMLfilename with error HTTP ERROR: 404, exiting |
RELATED ARTICLES
Small Business Website Design - How to Get Professional Results on a Shoestring Budget Just because you are a small business with an even smaller website design budget, does not mean that you cannot have a professional looking website and presence on the web. All it means is you will have to do some of the work yourself instead of paying some design firm to do it for you. Professional Web Design Companies - How to Avoid Getting Ripped Off Building a website that is exactly what you want and has all of the components you believe will impress customers is not easy. Your website needs to make searching and buying as easy as possible for your visitors and sometimes it is best to seek help on your website design. Top Ten Ways to Increase Web Sales - Part 2 You have only 10 seconds to impress your potential buyer. Your Web site visitors don't care about you. Using Server Side Includes to Simplify Your Web Design An "include" file is a piece of code that can be put into a seperate file -- for example -- your navigation bar -- and then "included" in a number of other pages. This has the very useful advantage of allowing you to retain consistency over a very large number of pages, and then make changes to all of those pages by just changing the include file. Dont Lose The Sale In The Internets Last Three Feet In retailing there is a saying that sales are made in the last three feet. What this means is that no matter what you have done with your marketing, the final purchase decision is made when a customer is in-store, with the product in front of them. Make it Clear What Your Website is About Just about every list of the "Top 10 Web Design Mistakes" includes at least one reference to either1. Not clearly specifying the objectives of your website, or2. Website Re-Design? My site is working fine. The links work. Top Ten Ways to Increase Web Sales - Part 1 You have only 10 seconds to impress your potential buyer. Your Web site visitors don't care about you. How To Use Unsafe Web Colors With Minimum And Safety And Maximum And Profit Do you want to use unsafe web colors without offending anyone? You can and you can do it by using JavaScript. It will determine which style tag the user uses by looking at whether it can use unsafe colors. Converting Print Advertising For Use On The Web - A How-To Contrary to the beliefs of some, advertising for web and print are very different. Converting print ads for use on the web is very tricky. How to Avoid the Biggest Mistakes Member Sites Make in Their Marketing Copy If you have a web site to which people pay a periodic member fee, it's likely that you belong to other member web sites and have done so for at least a year or two. Thus it's easy for you to overlook the fact that to the average person, member web sites are either a relatively new phenomenon or a completely new phenomenon. Database Driven Website The solution lies in creating a 'Database driven website', through which web pages are created dynamically which further gives a web site visitor an up-to-dated view of information stored in the database. When the information in the database is updated, site visitors will immediately see the changes that have been made. Basic Web Design Principles Home PageHome page should clearly indicate what the site is about. Provide top level navigation on the first page, your logo, and tell to the visitor what he can found on your web site. Creating Quality Websites Websites, there are literally billions of them out there in cyber-space. How many of them do you go to and just think this is boring, bland, or hard to use? It seems like too many to mention. Text Is King! Are you building your website? If so, STOP! Take a look at what you have done so far. How many images do you have? How much text do you have?If your website has more images than text then you could be in trouble. Flash Doesnt Always Add Shine to Web Efforts The trend today to overuse animation in a website's opening pages only serves to confirm that style often overshadows substance. Sometimes a "flash" in the pan - often courtesy of Macromedia Corp. Are You Driving Away Potential Customers? When a prospect lands on your website will he or she understand what you are presenting? Do your ordering/sign up instructions make sense? Can prospects easily find the information they are searching for? If you don't know the answers to these questions you may be driving away potential customers.As a writer I put a lot of effort into making ideas clear. Orient Your First-time Web Site Visitor Imagine spinning someone around so profoundly and for so long that when you finally tell them to open their eyes, they ask "Where am I?" not knowing if they are even on the same continent they started from. When someone comes to your web site from a search engine or through a link from another site, it's like that for them. Ten Tips For Your Web Site Home Page 1. Loading time:try to be below 20kbless number of imagesspecify height and width of imagesHtml with out errosWYSIWYG editors load up your html code. Dos and Donts in Web Design - part 2 (content) Do know your audienceIt's important to know your audience.If you write for a site that sells toys you'll use other words, colors, images etc. |
home | site map | contact us |