Miscellaneous coding topics
This section deals with caching, logging, adding a custom template type and generating dynamic navigation.
- Generating dynamic navigation
Typically, the navigational structure of your Web site corresponds to the hierarchy of the Structure Groups in your Content Manager Publication. You can generate a set of navigation controls on a Web page dynamically by accessing the Structure Groups. - Caching
To optimize performance the Content Manager caches objects while processing them. You can configure caching using the Tridion Content Manager MMC Snap-in to set basic caching options or by editing the Content Manager configuration file Tridion.ContentManager.config directly to set advanced caching options. - Adding a Template Type
The types of input accepted by SDL Tridion for creating Template Building Blocks: Compound Templates, .NET assembly, C# fragment, Dreamweaver templates and XSLT templates are normally sufficient for most use cases. If necessary, you can add template types to the Modular Templating Framework by creating template instances that use these types. - Managing C# fragment and .NET assembly Template Building Block logs
You can configure the logging performed during publishing so that you can examine the log messages produced by C# fragment Template Building Blocks and .NET assembly Template Building Blocks when you publish an item.