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 →

Get all entries from collection of all sites

Florian September 22, 2020 by Florian

I have two sites:

'default' => [
    'name' => 'Deutsch',
    'locale' => 'de_DE',
    'url' => '/',
'english' => [
    'name' => 'Englisch',
    'locale' => 'en_US',
     'url' => '/en/',

Both sites have access to the same collection: "sessions". Is there a way to get all entries of a collection no matter on what site they were created?

{{ collection:sessions }} only works for the current site as it seems.

Will I have to create a custom Tag/Controller?

Answered by Florian!
>>>>>>> Answered <<<<<<<
5 Replies