Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

History of Internet Explorer
================================================ Internet Explorer is derived from Spyglass Mosaic. Originally, Spyglass licensed the technology and trademarks from NCSA for producing their own web browser but never used any of the...

How To Use RSS Feeds For Free Traffic
RSS (real simple syndication) is the new rage in communication. Why? Because people are beginning to see the traffic and communication potential of using RSS to boost their business. So how can RSS help boost traffic to your website? There are two...

Search Engine Strategies for Mini-Sites
Search Engine Strategies for Mini-Sites by Dan Thies One of the most popular marketing concepts today is the "mini-site." A mini-site is essentially a one-page sales letter, linked to an order form, specifically designed to sell a single ...

Tracking Your Success
For most of us involved with web building or e-commerce, hit counting is old news. We all have our hit counters so we have an idea what traffic is like at our site on a day to day basis.Some even go as far as to note times and chart responses to...

Web Design Optimization
Is it possible to have an attractive website and still be optimized for search engines? The answer is absolutely yes! Of course we tend to be mis-guided about what will dazzle the visitor. It is not necessary to overwhelm your website...

 
PHP & Templates

Much in the same way PHP can display dynamically generated content, PHP can change the whole look of your site. Through a template system and simple variable that sets a session containing the user's preferred template, you can make your site customizable to your visitors. Many sites do this simple procedure to insure a large percent of their visitors are content with the way their site looks.



A template system generally consists of a header file, a body compilation process in a number of files and a single footer file. The header file contains any XHTML compliancy code, the site title, description and keywords and any JavaScript of CSS includes. The body files should contain functions to output the html to make the template but no content, only places for the content to be dynamically inserted. And finally, the footer file should have any copyright information and final closing tags to make the page XHTML compliant.



For more information and examples of template systems, feel free to use the contact link on this page.
About the Author
Professional website developer at simplyPHP.com.

Sign up for PayPal and start accepting credit card payments instantly.