I'm implementing DD4T.
On many WEB site, there are contents on right or left column, like "banners" or "links to related content". I'm wondering how to handle those kind of content.
Generally lots of pages have same side column contents, so if it's a static component presentation on page, user have to add same component to lots of pages. But because not "all" pages have same contents even if the pages are using same page template, it's difficult to display them automatically.
For instance, a electric product company's WEB site have products pages. There are product categories, "TV" and "PC".
- "TV" category has 100 pages, and those 100 pages have same banners.
- "PC" category has 100 pages, and those 100 pages have same banners, but the banner is different from "TV" category's.
Using structure group's metadata is one of good solutions on compound template(Set a component to structure group's metadata, then all pages in the structure group use the component). But DD4T cannot retrieve structure group's metadata.
I think it's possible publishing structure group's metadata as XML by TBB, then DD4T get metadata from the XML. But I'm afraid that performance is bad on both of TBB and DD4T.
what's good solution?