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.
- Web Content Templates library
- This library contains the shared components, authoring templates, and presentation templates used by the content items contained in the Template Page Content library. The library also contains the sample content items used with the "Articles" page template.
- Template Page Content library
- This library contains the content items used by web content viewer clones that create content when added to a page. These content items represent the base content that is copied when we add content from the Web Content category of the site toolbar to a page. Initially, this library contains two content items. The Article content item represents a simple article created from the "Articles" authoring template in the Web Content Templates library. The List of Articles content item is an instance of the "List of items" authoring template in the Web Content Templates library. The item represents a list of all articles that exist in the context of the currently rendered page.
Virtual portal note: To use the sample content with a specific virtual portal, syndicate these web content libraries to the virtual portal. If you fail to syndicate these libraries, an error is displayed when we add the sample content to a page.
To work with the sample web content libraries, complete the following steps:
- Open the authoring portlet for Web Content Manager by clicking Applications > Content > Web Content Management.
- In the authoring portlet, click Preferences > Configure.
- In the Library Selection section, add the Template Page Content and Web Content Templates libraries to the list of selected libraries.
Parent: Create content with sample web content template items