News list and articles

These items are only compatible with Rapido 3.2 or earlier versions.

You can use the Rapido Content Model to create similar types of content.

Rapido features predefined templates for news list and news articles (Figure 2.1). The individual news articles can be accessed from the news list, which directs to the full content.

Figure 2.1 News list (left) & news article (right)

For more information about the news list feature and articles, see the Features page.

To create a news list, you must create a new page and choose the news list item type (Figure 2.3).

Figure 2.3 Choose the news list item type

Create a (simple) paragraph. Click App in the ribbon bar and select the item publisher (Figure 3.1).

Figure 3.1 Attach the item publisher to a new paragraph

In the Data section (Figure 3.2), set news article as the item type and choose select items under current page (Page name: Your page's name).

Figure 3.2 Set news article as item type and select items from under the current page

In the List section, select ItemPublisher/List/NewsList.cshtml as the template (Figure 3.3).

Figure 3.3 Select the template under List

To create articles to the news list, right-click the created news list and create a new page (Figure 4.1).

Figure 4.1 Create a news article

Choose the news article item type (Figure 4.2).

Figure 4.2 Choose the news article item type

Fill in the information that is needed for the article (date, title, lead text, an image, and a description) (Figure 4.3) and click Save

Figure 4.3 News article setup

If you already have a news list on your site but want to display the latest of these news articles somewhere else, you can create a “Latest news” list (Figure 5.1).

Figure 5.1 Latest news

To create a latest news list, go to the page where you want the list to be and create a new paragraph. Name it e.g. “Latest news” (Figure 5.2).

Figure 5.2 Create a new paragraph

Then, click App in the ribbon bar and select the Item Publisher (Figure 5.3).

Figure 5.3 Attach the Item Publisher

In the Data section (Figure 6.1), select news article as the item type and choose select items under the following page and selector will appear. Select the page with your usual news list.

Figure 6.1 Set the item type and select the usual news list in the Data section

In the List section, set the ItemPublisher/List/LatestNewsFrontpage.csthml as the template (Figure 6.2). Set the list to order by Date and make it descending.

Figure 6.2 Choose the template in the List section

Click Save and close.