Entries

10 minutes


The Entries block allows you to dynamically list records from modules such as articles, events or products. With its help you can easily create a listing of all articles or a listing of only the three most recent articles. The advantage of using the Entries block is that it is automatically updated with new content published, without the need to edit it on every page where you use it.

How to add the Entries block

Like all other blocks, you add entries to a page by dragging a block from the left panel into the page structure. You can find the entries block among the advanced blocks. To open the settings, click on the block or use the gear in the top right corner of the block.

As mentioned above, the listing can list the data you have in each module. The modules that you can list from in this way on solidpixels. include:

  • e-shop products,

  • blog articles,

  • events

Data sources for the list

You can edit the source of the list data in the Data tab of the list settings.

In the Data tab, you can specify from which module the records will be taken and also by which rule they will be sorted. You can also limit the entries to be listed by category, tag or author. The listing will only ever display entries that meet a combination of all the criteria.

If you wish to display only the specific records you have selected, just search for them in the "Selected items" field . If, on the other hand, you wish to omit specific records, you can fill them in the "Exclude selected items" field . At the same time, you can also enable the "Exclude current" option. With this option, the listing will not display, for example, the article or product within which the listing is located.

Last but not least, you can limit the number of records that are listed. The "Number of items on a page" option specifies a fixed number that will be displayed on the page. The "Pagination" option then allows you to load multiple items when you click a button or open a page with all the records. With this setting you can, for example, display only the three most recent articles or the latest products.

Tip: Selecting more detailed parameters

Selecting parameters creates a selection of records for which only all the selected parameters apply at once. If you want to exclude specific records from the selected source, or display only the records you have selected, use the "Exclude selected items" or "Selected items" options.

Entries appearance

The appearance of the listing can be adjusted according to its position on the site. It is therefore possible to have a listing with the same data on each page and still have a different design.

The appropriate appearance settings can be found in the second tab - Appearance settings.

Appearance

Select the layout of the listing elements:

  1. Grid (tile layout) - Grid is a layout suitable for e.g. articles or products where an image and detailed description is essential.

  2. Entries (small images with text) - Listing is suitable for more compact display of records such as events or articles with short annotations

  3. Background image (tiled layout with text over images) - Background images are suitable for visually dominant listings where text is not as essential, such as real estate

  4. Table (list of records with columns of your choice) - A tabular listing can compactly display a large number of records where specific parameters are important. This makes it suitable for example for listing apartments or rooms in a hotel.

Item appearance - Grid, Listing, Background image

Grid, Entries and Background Image have the same item appearance settings."Number of columns" determines how many records are displayed on a single row. Listing can also be displayed as a slider. Its settings are then governed by the settings for the Slider block.

For all three types, you can specify the aspect ratio of the images or hide them. For the Entries, you can also specify whether the image is on the left or right and change its size.

You can also hide or show annotations and also turn off detail links. Disabling this option will prevent the entry detail from being opened via the list. This is useful, for example, for listing events that have all the essential information displayed in the listing and thus do not need detail.

You can set the entire entry as a link and add a button that also leads to the entry detail. In the "Button settings" you can then customize the appearance of the button.

You can also specify the "Content Alignment" and enable "Style: card" - a style with a background whose appearance you can adjust in the Design settings.

Item appearance - Table

The tabular listing is specific - it does not use images for listing. In addition to the link and button settings, which are the same as the other types, you will also find "Table Columns". This allows you to select specific columns to be displayed in the listing.

A table listing is thus ideal for a room listing, for example, as it allows you to display the size and price of the room.

Appearance of metadata

Metadata is the last item in the appearance of the listing. Metadata includes, for example, date, category, tags, or author of the record.

The primary and secondary regions are the two areas where metadata is displayed. For both regions, you can select which metadata to display and specify where it is displayed. Thus, you can place the primary region with the author and date before the title, and the secondary region with the annotation after the title.

If you do not wish to display metadata at all, you can hide both the entire metadata and individual regions.

Highlighting the first item

The last toggle allows you to highlight the first item of the listing. This allows you to give more emphasis to the most recent article or event in the listing. You can customize the appearance of the highlighted item in the Design settings.

Tip: Choosing the right look

For clarity and quick orientation, don't choose different listing designs for pages with "similar" content. For example: keep the same listing for women's, men's and children's pants (t-shirts, socks, etc...). You can then use the different design for a listing on the homepage, for example, where you want to highlight specific products.

Filtering entries

Filtering will make it easier for your visitors to navigate through the listings.

The filtering settings can be found in the Filters tab.

You can choose between Horizontal and Vertical placement. The filter parameters will be listed in the row above the listing records in the first case, and in the column next to the listing in the second case.

Based on the selected data source, the filter menu changes - it can include categories or tags, for example.

For each filter category, you can choose the form of selection for each parameter. You can choose from the following options:

  1. Select - the visitor selects just one option from the drop-down box.

  2. Checkboxes - the visitor sees all the options offered as checkboxes and selects by checking one or more options

  3. Links - the visitor sees all options at once as links and filters just one selected option by clicking

  4. Radio - the visitor sees all offered options as checkboxes and selects just one option

Tip: The right filters

We recommend trying multiple filter settings before running on a live site. Not all filter parameters are suitable for all selections.

Select is suitable for a large number of options from which the user selects only one, such as clothing sizes
Checkboxes are useful for multiple choices, such as clothing brands
Links are useful for a smaller number of options from which the user selects only one, such as article categories
Radio is useful for a smaller number of options, but is more visually distinct than Links

Other filter settings

You can enable no-load filtering for filters , so the page won't reload every time you change the filter.

The "Update results on filter change" option ensures that the selected filters do not need to be confirmed with a button, but the records are updated automatically.

In addition to filtering, the sorting settings also allow visitors to sort records according to their own preferences, e.g. alphabetically.