3.8. Setting HTML Top-Level Attributes

The skin system makes it easy to implement web page best practices such as implementation of HTML Title, Meta Keywords, and Meta Description tags on each page to keep the information relevant and help with search engine optimization, as well as providing user-friendly web page titles for history navigation.

During the page life cycle, your module/page is given the opportunity to alter the skin being used to render the current page via the following method:

function setupSkin($page, $parameters, $skin)

Examine the setupSkin implementations in your Blog module to see an example of using the skin infrastructure to manage HTML head-element tags.