Skip to main content

News

Display published announcements in Yeeflow. Connect a data list, choose card fields and sort order, and verify links and pagination.

Use the News control to show records as cards on a page. For example, display internal announcements in publication order and open a record when someone selects its card.


Add News to a page

Open the page designer, find News in the controls panel, and drag it into a section or container. For the announcement example, prepare a data list with a title, excerpt, publication date, status, and optional cover image.


Choose the data source, filters, and sort order

  1. In Content → Data Source, choose the Application and List that hold the announcements. The application defaults to the current one.

  2. Open Data Filters and include records whose status is Published.

  3. Set Primary Order to publication date with the newest first. If dates can match, use Secondary Order to break the tie, for example by sorting on title.


Map the card fields and set the click target

  • Columns sets the number of cards across, from one to six. Choose a count for each device, such as three on desktop and one on mobile.

  • Image Field selects the cover image. Leave it empty for text-only cards. Records without an image still display their text. Use Position, Image Size, Image Ratio, and Image Width to control the image placement and size. Enable Masonry for cards of different heights.

  • Title Field and Excerpt Field choose the card heading and summary. Set Excerpt Length to control how much of the summary appears. Add publication date under Additional Fields, and set Split with if you display multiple values.

  • Display “More” Button shows a button on each card. Set its label with Customize Button Text.

News card layout settings showing Title Field, Excerpt Field, Excerpt Length, and Additional Fields.

In Link, choose Default Layout to open the source list’s default record view, a custom list form for a different view, or Custom URL for a URL that can vary by record. Choose None for non-interactive cards. In Open in, choose a pop-up, full-screen detail page, or a new window.

For results with no matching records, enable Hide if value is empty to hide the control, or supply Fallback content to explain that there are no announcements.


Set the number of visible records

Use Start at to choose where the results begin. With Limit Records off, set Records per Page and align the page controls with Align. To show only the latest records, enable Limit Records and enter a Limit. Enable View more records to show a link below the cards, then set the link destination, text, and alignment.


Style the News control

Use the Style tab to tune spacing, colors, and text. Preview the cards at the widths your readers use.

Layout

Set the column and row gaps and align the content in each card.

Content box

Adjust the card border width and corner radius, outer and content padding, and shadow. Set background and border colors for the normal and hover states.

Image

Set the image corner radius and the space between the image and text. The image filters adjust blur, brightness, contrast, saturation, and hue.

Content

Style the title, extra fields, and excerpt separately so the title is easy to scan.

Title

Set the title color and typography, then set the gap beneath it.

Additional fields

Set text and separator colors, typography, and spacing before the excerpt.

Excerpt

Set the text color, typography, and spacing before the card button.

Fallback

Set the color, typography, and spacing of the empty-state message.

Pagination

Set the page controls’ text color, typography, and space above them.


Check the page before publishing

Review any spacing or other settings under Advanced. Advanced options

  1. Add two published announcements with different dates and one draft. Leave one published record without a cover. Preview the page and check that the published cards appear newest first and the draft stays out.

  2. Check mapped titles, excerpts, and dates on desktop and mobile. Use enough records to test the page controls or View more records, then test a filter with no matches.

  3. Open the page as a member of the intended audience. Select a card to confirm it opens the expected record or URL in the chosen mode. If links are disabled, check that selecting a card keeps you on the page. The query controls what the News control shows, and application and list permissions control who can open the data.


​

Did this answer your question?