Search
Recommended Sites
Related Links






   

Informative Articles

How RSS Feeds Help Your Search Engine Rankings
RSS is an acronym for Really Simple Syndication or Rich Site Summary. RSS is an XML-based format for content distribution. Webmasters create an RSS feed containing headlines and descriptions of specific information. The majority of RSS feeds...

How to detect Search Engine Friendly Directories
Directories serve two purposes in your web development efforts. One, a link from a directory is counted as a back link and hence increases your link popularity. Two, some directories will send you targeted traffic. Webmasters...

Printing and Sending: the Two Things Users Want to Do
There's something you have to realise about the way users interact with articles. To put it simply, they don't just want to read them: they also want to print them out, and send them on to their friends, family and colleagues. If you can make...

Shopping Carts For The Weary
To choose the means whereby we put our products on the world-wide-web, we proceed by a process of elimination. The chief criteria for judging a shopping cart is the number of credit card processors and shipping services it supports, and the...

Spider Friendly Web Pages
First off what is spider friendly navigation? Basically it is how easily search engines can read your website. This ultimately depends on the search engine that is reading your site. Some have the patience to dig deep into your site and promise to...

 
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.