Creating Content
Step 5 of 7
Now that you’ve used a basic use case for the content display page, let’s take a deeper look at how they work and how to use them for more advanced use cases.
Choose Your Own Content Display Page
A Content Display Page can be any page with an Asset Publisher configured as the “default” asset publisher for a page, and you can set up the rest of the page however you like. This allows you to use Content Display Pages for things beyond displaying a single static piece of content or providing a friendly URL.
Configuring Asset Publishers
Now, let’s configure an Asset Publisher to function as our primary content display.
-
Go to the Activities page.
-
Open the Configuration menu for the Asset Publisher on the right side.
-
In Asset Selection scroll down to Filter and open it.
-
Set Show only assets with Activities as its display page to Yes.
-
Open Display Settings
-
For the Display Template select Full Content.
-
For the Number of Items to Display change it to 1.
-
Set Set as the Default Asset Publisher for This Page select Yes.
This is the most important step in configuring a Content Display Page. If a page has an Asset Display Template set as the default for the page, any content can be displayed in it.
-
Set Show Metadata Descriptions to No.
-
Click Save.
Most of the configuration options are self explanatory. Next, configure the Asset Publisher on the left to function as an Asset Selector.
-
Open the Configuration menu.
-
In Asset Selection scroll down to Filter and open it.
-
Set Show only assets with Activities as its display page to Yes.
-
Open Display Settings
-
For Display Template select Title List.
-
For Asset Link Behavior select View in Context
-
Click Save.
The Asset Publishers are configured, but there’s no content configured for this page. Next you’ll create content that uses a Content Display Page.
Creating Content with a Display Page
Any content can have a display page set for it, and any page can be a display page if it has a properly configured Asset Publisher on it. Next, you’ll create three content items to be displayed here.
-
Go to the Web Content page in Site Administration.
-
Click the
+
and select Basic Web Content.
You’ll need to repeat this three times. The content will only have a title and an image.
-
For the first item, set the Title as “Lunar Rover Racing”.
-
Add the
lunar-rover.png
image. -
Scroll down and for Display page, click Choose and select Activities.
-
Click Publish.
-
For the second item, name it “Lunar Golf” and add the
lunar-golf.png
image, set the Content Display Page to Activities and click Publish. -
For the third item, name it “Lunar Spelunking” and add the
lunar-spelunking.png
image, set the Content Display Page to Activities and click Publish.
Housekeeping and Final Test
Now to add a few finishing touches.
-
Go back to the Activities page.
-
In the lefthand Asset Publisher, click the Portlet Title, and change it to Choose an Activity and click the checkmark.
-
On the right side, open the Look and Feel Configuration and change the Decoration to Barebone.
Now that your page looks great, test it out -
- Click on a title and that content will display in the publisher to the right.
Figure 1: Final Activities Page.
Congratulations, you’ve finished creating the Activities page, and configured a dynamic content display.