Create content with sample web content template items
To illustrate how page templates, web content viewers, and content associations work together, WCM provides sample web content. The sample content includes examples of web content template pages and predefined portlets that we can add to pages to render content.
In addition to examining how these rendering pieces are defined, we can also explore the web content libraries containing the sample content.
For a typical installation using the Full option, the sample web content template items are deployed by default. However, if you installed the portal using the Base options, we can the items after installation, as described in Adding templating sample content to a base installation.
- Add sample content with the site toolbar
The sample content provided with the portal includes four preconfigured web content viewer portlets that we can add to a page from the site toolbar. The viewers are configured with the Create content (based on selection) setting so that adding the viewers to a page automatically creates content items on the page. The viewers are available in the site toolbar in the Web Content category of the Content tab.
- Create content with the Articles template page
The sample content provided with Web Content Manager includes a web content template page called Articles that demonstrates how we can build pages with predefined content.
- CSS styles used by the sample web content template items
The markup generated by the sample web content template items is primarily controlled by presentation templates that are stored in the Web Content Templates library. These templates rely on the availability of several CSS class definitions in the wp_oob_sample_styles theme module.
- Add the sample web content libraries in the authoring portlet
The templating sample content provided with IBM WebSphere Portal is delivered in two web content libraries: Template Page Content and Web Content Templates. We can use these libraries and their content as a starting point for working with web content page templates and developing the own templates.
Parent: Get started with delivering web content on a portal pageRelated:
Add sample web content template items to a base installation