Views rendered entity doesn't work?

Created on 23 May 2024, about 1 month ago
Updated 17 June 2024, 13 days ago

Problem/Motivation

I added a Config Pages item to a views header region for a config_page I created, but it doesn't render as expected, nothing is displayed on the view.

Steps to reproduce

Create a Config Pages configuration.
Add a simple text field to the config page; make sure the text field is displayed in the Default view mode.
Configure the config page, fill something into the text field, save it.
Update a view to display the "Rendered entity - Config page" item in e.g. the header.
Fill in the fields to pick the appropriate item:

Look at the preview section of the display - the expected text from the config page won't be displayed.

Proposed resolution

Work out what is missing that stops the Config Page item from displaying, document it as necessary.

Remaining tasks

Work out the cause of the problem.
Document the solution.

User interface changes

TBD

API changes

TBD

Data model changes

n/a

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @DamienMcKenna
  • πŸ‡΅πŸ‡±Poland shumer Wroclaw

    Hello, at your screenshot I see you're trying to use numeric ID of the Config page to render, which won't work with that module. You need to provide a ConfigPage ID which is basically machine name of the type:

    and then use it in the View config:

    then it will be renderd in the view:

  • Status changed to Fixed 13 days ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    Thank you, it's working now.

Production build 0.69.0 2024