Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

7 Top Ways to Avoid Link Theft
If you have a link directory on a website, how do you stop link theft by sites that don't link back, or trick you into thinking they do ? Whether link theft is anything to get concerned about depends on how many links your website has, the quality...

Design A Spider Friendly Site
To be successful in the search engines it's important to design your web site with the spiders in mind. Using the latest in web page design is not generally the best way to go. Spiders don't view web pages like humans do, they must read the HTML in...

Email Wiretapping- Don't be a victim
On the face of it, does email wiretapping sound scary? Yes? Yes it is scary and you should now how it's done and how to combat it. A little while ago the known (but not known with a load presence) organisation called "The US based Privacy...

Taking HTML Further with Javascript
Once you've built your HTML pages, you might need them to do something a little more interactive on the client-side (that is, in the visitor's web browser). How can you do that? Javascript is the answer. How Does Javascript Work? To add...

Usability analysis
Ways to increase the Usability of the site. Websites are the most valuable in the world these days. Each year, companies and individuals spend millions of dollars. A good homepage can help you to attract more hits and this increase the...

 
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.