A common request people have when it comes to having a dynamic site is the ability to create content displayed adjacently to the main content: a “side-bar†if you will. Sometimes it will be content that should be displayed universally, regardless of the page that you're viewing, such as a 'Latest News/Blog/Tweet' block, or a calendar widget. Other times it is a very page-specific piece of content, like an extra menu to a set of relevant links to the main content, or the latest comments made on the current page. The biggest problem that people tend to have is the difficulty of maintenance of such sidebar content – often you have to hard-wire the code into your layout and continually have to edit the content from the template file or as a component, which can be very grating when you have page-specific sidebars and a lot of pages to boot.
This article will outline a way that I think is a pretty efficient way of providing yourself either universal sidebar widgets, page-specific sidebar-widgets or even both!
http://spritingonawhim.co.nr/articles/ge...s/?lang=en
This article will outline a way that I think is a pretty efficient way of providing yourself either universal sidebar widgets, page-specific sidebar-widgets or even both!
http://spritingonawhim.co.nr/articles/ge...s/?lang=en