Timeline for Entry query returns all fields with NULL
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 3, 2021 at 16:22 | comment | added | Kris | @Johannes ah didn't kniw there's a discord. Yes I spent 2 hours on it lol | |
Jun 3, 2021 at 16:13 | comment | added | Johannes | Oh crap, hours? Well, don't hesitate to create questions here. Also, have a look at the Craft Discord server. | |
Jun 3, 2021 at 16:12 | vote | accept | Kris | ||
Jun 3, 2021 at 16:11 | answer | added | Johannes | timeline score: 1 | |
Jun 3, 2021 at 16:07 | comment | added | Kris | @Johannes yes it was a matrix field. All the other fields were easy to get but the matrix field not. I struggled for hours with this. | |
Jun 3, 2021 at 16:05 | comment | added | Johannes |
Looks like seitenContent is not a trivial field type but maybe a matrix field?
|
|
Jun 3, 2021 at 16:03 | comment | added | Kris |
@Johannes you saved me. I got it working by using this: {% set kundenmeinungen = craft.entries.section('unterseiten').slug('kundenmeinungen').one() %} {{ dump(kundenmeinungen.seitenContent.type('textbewertungMitBild').all()) }}
|
|
Jun 3, 2021 at 15:17 | comment | added | Johannes |
What happens if you call dump(kundenmeinung.seitenContent) ? Do you have more than one site configured?
|
|
Jun 3, 2021 at 13:41 | review | First posts | |||
Jun 17, 2021 at 13:42 | |||||
Jun 3, 2021 at 13:34 | history | asked | Kris | CC BY-SA 4.0 |