Migrating Template Building Blocks
If you are upgrading from SmartTarget 2011 SP3 and older, it is recommended to upgrade your Template Building Blocks and TCDL code as support for these is deprecated.
Upgrading default Template Building Blocks
The following table describes how to upgrade your old Template Building Blocks to the new ones:
| Template Building Block in SmartTarget 2011 SP3 and older | Equivalent Template Building Blocks in 2014 and higher |
|---|---|
| Add SmartTarget search promotion | Use the following Template Building Blocks:
|
| Add SmartTarget item promotion | Creating an Item Promotion is no longer directly supported |
| Add SmartTarget facet promotion | Creating a Facet Promotion is no longer directly supported |
| Set SmartTarget Page View | Creating a Page View Promotion is no longer supported |
Upgrading TCDL code
In SmartTarget 2014 and higher new default Template Building Blocks implement Seach and Navigation functionality that you would previously implement by adding TCDL code to your templates. Consider replacing TCDL code with the new Template Building Blocks:
| Functionality | Implementation in SmartTarget 2011 SP3 and older | Implementation in 2014 and higher |
|---|---|---|
| Navigation | <tcdl:navigation> tags in Dreamweaver Templates | To generate navigation links in your published Web pages, use the following Template Building Blocks:
|
| Search | <tcdl:items> and <tcdl:search> tags in Dreamweaver Templates | To implement search in your published Web pages, use the following Template Building Blocks:
|