These block portlets are included with the Content Template Catalog.
- Component Configuration Reference
- Footer Sitemap
- Landing Navigation
- Landing Navigation Grid Design
- Landing Navigation Reversed
- Side Navigation Index
- Side Navigation Detail
The Block template is used wherever a block of content needs to be displayed in its own portlet. It is used in the social media tools portlet and the details portlet used on many of the details pages.
A block can be removed from the output by testing for the empty data before rendering headers and footers. This technique is used in a number of places in Content Template Catalog to render optional data.
Here are some examples of blocks:
- Visiting Sydney is a single-item navigation block.
It contains an image, descriptive text, and a "Read more" link.
- Connect is a tools and information block.
It includes tools for subscribing to an RSS feed, sending email, calling for more information, and printing the page.
- Details is a current item details block.
It includes a link to an external site and a link to a PDF file.
Block portlet configuration
Each block portlet type uses a configuration document based on the Block
authoring template located in the CTC Design
library. The following configuration parameters are used by the block portlet type:
Some block designs include a title in their header design. The title entered here is displayed in those list designs.Block Style
Much of the look and feel of each portlet is defined in the CSS file linked to that portlet. You can enter the name of alternative CSS files here to change some design elements of the content displayed in the portlet. Block component
The component selected here defines what content will be displayed in the body of the portlet. Header Component
The component selected here defines what will be displayed in the header of the portlet. Footer Component
The component selected here defines what will be displayed in the footer of the portlet. Context Override
You can select a site, site area, or content item to use as the default context of the portlet. This is used instead of the default portlet context.
Rendering headers and footers
The main component referenced in a Block configuration is responsible for rendering the header and footer.
When you create a new Block component, you must ensure that the main component renders the header and footer. If you forget this step, the header and footer do not render.
Headers and footers are not built into the presentation template for the following reasons:
- To support the use of paging information tags in headers and footers, the header and footer must be rendered inside the component that runs the query.
- To allow conditional hiding of the entire block or list of information, the code inside the list or block can decide to render nothing at all.
To add header and footer rendering into custom components, use the fragments called “Design Template Header” and “Design Template Footer." You can find them in the Fragments folder in the CTC Design library.
Component configuration reference portletParent topic: Portlet Display Types
Use this portlet to reference existing component configurations, such as when you want to use the same component configuration on a details page that was created for a landing or index page.
Landing navigation portlets
The two Landing Navigation portlets are configured to create a Block item that displays a formatted navigation link to a selected subarea. This block component displays an image, title, summary, and link to the Landing or Index in the selected area.