Generic SDL Tridion 2011 Template Building Blocks

These generic Template Building Blocks will give a quickstart to your SDL Tridion 2011 templating implementation.

The download package contains a set of useful template building blocks:

  1. Get Design Elements - Publish all your design elements (css, js, images), in the same structure as you upload them, and without having to worry about their inter-dependencies. The problems this TBB addresses are discussed in detail in this article
  2. Force Unique Binary Filenames - if two editors upload an image with the same filename, the default TBBs will cause a publishing error. This TBB ensures images have unique names when published.
  3. Get Linked Components - This TBB pushes components linked from the context component into the package so you can access their content and metadata in templates (for example to output an image alt text, or heading field from a linked component)
  4. Get Breadcrumb Trail - Generate an HTML breadcrumb trail for the published page.
  5. Group Components By Template Type - Group templates by template type so they can be iterated with different repeaters in your DWTs (useful for Homepage layouts etc.)
  6. Get System Components - Add all components in a designated folder to the package (for example config and labels system components) so they can be accessed by your DWTs.

Developer
:    Will Price
Company
License agreement
Tags
:    SDL Tridion 2011,  Template Building Blocks
Version
:   1.0
Source
:   Yes

About the Author
Will Price
Principal Consultant

Will is a seasoned web application consultant having worked on web projects for clients all over the world for the last 14 years. He has a deep technical and functional understanding of SDL Tridion solutions from his 6+ years working at SDL as a Principal Consultant in Amsterdam. Since 2012 he has been working freelance and continues to be involved in SDL Tridion projects.

W.P. Consulting

Most Popular Building Blocks

These are the most popular Building Blocks. Did you already get them?