You can use these plug-ins in your own components and use them as inspirations for building your own plug-ins.
Until you have the plug-ins working as desired, format the HTML fragment you are using with extra whitespace and linebreaks. When the plug-ins are working, you can then remove the whitespace and line breaks to compact the rendered HTML down to a more readable format in the output.
CTC Design Translations plug-in
Use the CTC Design Translations plug-in to reference translations stored in the plug-in and also in other resource bundles. It is useful for translating designs that are reused in multilingual sites. It also provides localized translations for the Content Template Catalog designs.
If Device and If Not Device plug-ins
Use the If Device and If Not Device plug-ins installed with Content Template Catalog to render content selectively, based on a user’s Portal device class. You can use these plug-ins for switching to mobile components, such as a slideshow or carousel optimized for mobile devices, when a user visits the site through a Smartphone or tablet.
If Empty and If Not Empty plug-ins
Testing for an empty or nonexistent element, or an empty property, is a useful conditional rendering capability. It allows the optional rendering of blocks of markup based on what data is available. By using them in pairs and even nesting them, you can implement fallback rendering of data from different fields, or provide alternative fallback text.
If In Range plug-in
The If In Range plug-in renders results selectively based on the specified range within a list of items. For example, you could have items 1 through 3 render an image, while the rest of the list does not. Use this plug-in with menus or navigators where different styling and markup are required for certain results. Content Template Catalog often uses this tag to conditionally render data for the first item, and to open lists, mark up the first item with a different style, and so on. Using the [pageinfo] tag in the range number allows you to test to find the last item and render it differently as well.
Get Date plug-in
Retrieve the current date on the server in the specified format.
Set Context plugin
This plugin is used to set the context for the current content.
Request parameter plug-in
This plug-in can be used to render a specific parameter from the request on the page.
URL Encode plug-in
Use the URL Encode plug-in installed with Content Template Catalog to render a property in a URL. This plug-in is used for referencing the resources in the Video component.
(Deprecated) If Equal and If Not Equal plug-ins
The If Equal and If Not Equal plug-ins are deprecated. Use the IBM
® Web Content Manager Equals and NotEquals utility plug-ins instead.