Display Recent Press Releases
A common use of the system is to show the most recent press releases issued on a site. The demo site doesn’t have a press releases section, but we’ll create a temporary example by walking through the process. The first step is to set up an index block of the press releases folder.

A. Create an Index Block of Press Releases
To create an index block of press releases:
- First create the press releases folder (refer to Technical Intro Part 1 on How to Create a New Folder). In our case, we will create /web/press-releases.
- Browse to your index blocks folder. In our case, we will browse to /web/blocks/index.
- Click on New -> Default -> Block in the top navigation menu.
- Select the Index Block radio button, and click Submit.
- For the Index Folder field, browse to your press releases folder. In our case, we will choose /web/press-releases. Click Confirm to approve the selection.
- For the Depth of Index, type in 1.
- For the Index Asset Types, check the box for Pages.
- For the Index Asset Content, check the boxes for Regular Content and User Metadata.

- Now go to the System pane. For the System Name field, type press releases.
- Click Submit to save the new press releases index block.
- The new index block won’t have any content if there aren’t any pages in the designated folder. Copy several pages into your press releases folder. In our case, we will copy /web/about and /web/agents into /web/press-releases. Note that pages used in an index block need to have the option Include when indexing turned on in the respective page system menu choices, otherwise they won’t show up in the index blocks.
- With the pages copied in, navigate back to your press releases index block. In our case, we will navigate to /web/blocks/index/press releases. You should now see the page metadata in the XML preview.
B. Create a Recent Press Releases Stylesheet
Now that the index block and the pages are in place, you need to create a new XSL to transform the XML into our desired snippet of HTML.
To create a recent press releases stylesheet:
- Browse to your stylesheets folder. In our case, we will browse to /web/stylesheets.
- Click on New -> Default -> Stylesheet in the top navigation menu.
- For the XML field, type in the following:
The stylesheet outputs a heading, recent press releases, and then matches all of the system pages. If the page is one of the first four in the folder (according to the folder positioning) and isn’t the index, then a link is created to the press release with the title metadata value and the summary metadata value shown below. - Click on the System pane and type recent press releases for the System Name field.
- Click Submit to save the new stylesheet.
C. Override a Region at the Page Level
Now that you have your press releases index block and stylesheet, you need to plug them in to a page region. You are going to override the context navigation region specified by the configuration set with your recent press releases.
To override a region block and stylesheet at the page level:
- Browse to the desired page. In our case, we will choose /web/index.
- Click the Edit tab.
- Select the Configurations pane in order to see the existing configurations. Because HTML is the default configuration, it will already be shown in the pane along with all available regions and any current assignments.
- Click the browse icon for the CONTEXT-NAVIGATION Block, and select your new press releases index block. In our case, we will select /web/blocks/index/press releases.
- Click the browse icon for the CONTEXT-NAVIGATION Stylesheet, and select your new recent press releases stylesheet. In our case, we will select /web/stylesheets/recent press releases.

- Click Submit to save the page.
The resulting page shows the new recent press releases area, displaying the appropriate press release links. In our case, the about and agents pages appear. However, no summary shows up below the links, because that field is blank in the page metadata. We can fill in summary metadata for both pages in the press releases folder, and then the index page will reflect these changes. The recent press releases stylesheet should be customized further to fit in with your site look-and-feel, but this provides a nice starting point.

Thanks for going through Part 3 of the Technical Introduction. Part 4 is available online:

