Free Trial Period - Want to Learn How to Make Money Online?
PHP and HTML includes - Combined with Dreamweaver templates
In the article “This is so simple, why don’t more websites do it?” I talked about the benefits of include files. Since then, I’ve had some people ask me how to do this with a Dreamweaver template, or with a PHP page. You’ll be surprised at how much time you can save, when you use Dreamweaver templates with include files.
If you don’t use Dreamweaver, don’t worry. This concept can still be used and I’ve included examples you can use.
Here is how you use include files with Dreamweaver.
In the article “This is so simple, why don’t more websites do it?” I talked about the benefits of include files. Since then, I’ve had some people ask me how to do this with a Dreamweaver template, or with a PHP page. You’ll be surprised at how much time you can save, when you use Dreamweaver templates with include files.
If you don’t use Dreamweaver, don’t worry. This concept can still be used and I’ve included examples you can use.
Here is how you use include files with Dreamweaver.
Dreamweaver Template:
The majority of my sites will have the following:
header
subheader
navigation bar - left, right or both sides
footer
content area
Since the header, subheader, navigation bar and footer are common for multiple pages I put that html in separate files.
One of the questions I was asked was, “Why not simply modify the Dreamweaver template and it will modify all your pages? Doing it this way, means you don’t have to use include files and possibly have a longer load time.”
My response was, “That’s fine for a site that’s under 25 pages. How long is it going to take me to add, a new link to my footer on the site that as 17,567 different pages?” First I have to wait for Dreamweaver to modify all the pages and then reupload. That’s terribly inefficient. I’ve not experienced any delay in page loading on any page that has includes on it.
Next entry: Personalized PDF - On The Fly
Previous entry: How to Create On the Fly PDF Documents
Members:
Login | RegisterJoin our Mailing List
Categories
- Ad Tracking
- Affiliate Programs
- Announcements
- Competitive Intelligence
- Guest Articles
- Design
- htaccess Magic
- Includes
- Membership Areas
- Musings
- Personalization
- Product Theft
- Programming Tricks
- Recommendations
- Rotation Magic
- Site Management
- Site Security
- Smack on the Head
- Software
Monthly Archives
Most recent entries
- Use Google Site Maps? Better Read This
- Want to Get More Pages In Google - Faster?
- Never Assume People Know Something
- Use Domain Wildcarding to Shorten Urls
- How to Use Clickbank's New Ranking for Competitive Intelligence
- How to Create A Free Simple Site Map
- Essential Anti-Virus and Spyware Programs
- Personalized PDF - On The Fly
- PHP and HTML includes - Combined with Dreamweaver templates
- How to Create On the Fly PDF Documents
- Alexa Rankings - What a Joke
- If You Use Passwords - Read This Article
- Suffering From Too Many Instant Message Icons?
- The Name of One Book That Must Be On Your BookShelf
- If You Haven't Read This Book, I Guarantee You're Losing Money