New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Fieldtype "collection", pull from multiple collections?

Kaz van Kooten April 7, 2020 by Kaz van Kooten

I have three collections: articles, team members and links.

I want my client to be able to place any entries he wants on the homepage. In the homepage yaml file I've set up a grid:


  type: grid
      type: text
      type: collection
      collection: articles

How can I have that last line select from all my collections? I've tried collection: articles | team members | links but that's not it.

I could of course use a workaround with conditional logic, but I'd prefer to list all entries of all collections here, if that's possible.

Answered by Philip Thygesen!
>>>>>>> Answered <<<<<<<
2 Replies
1 Follower