Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot render a matrix from within an entry #307

Closed
DowleyDeveloped opened this issue Oct 30, 2024 · 0 comments
Closed

Cannot render a matrix from within an entry #307

DowleyDeveloped opened this issue Oct 30, 2024 · 0 comments
Labels

Comments

@DowleyDeveloped
Copy link

Within a entry card, in my CKEditor field, I have a matrix block called "Link Matrix" in which the user can select different link type (old from Craft 4). When I try and render this on the front end using entry.linkMatrix it doesn't show the Matrix field, but displays a craft\elements\db\EntryQuery instead.

Not sure if there's something I'm missing, but the rest of the fields seem to load correctly.

Steps to reproduce

  1. Create a Entry Type which includes a matrix field
  2. Try and render this on the front end.

Additional info

  • Craft version: 5.4.9
  • PHP version: 8.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant