collection or global (array field vs collection?) #1516
-
Hey, talking about sub-pages: If you need to combine page-wide data (eg meta description, featured image) with repeating content like posts - what's your approach? a) collection + global: Use a collection for the repeating content (posts) and a global for the page-wide content My thoughts: a) probably offers better performance in the admin UI, offers the list view which is more suitable for large arrays of data |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I've found another disadvantage of b):
|
Beta Was this translation helpful? Give feedback.
-
Maybe I am misunderstanding your question - but what we normally do is create a group of meta fields and add them to a collection, and on every collection the meta data is unique so it needs to be filled out on a per document basis. We have built a plugin for managing meta data as well and you can read more about it here. Let me know if I am missing something! |
Beta Was this translation helpful? Give feedback.
Maybe I am misunderstanding your question - but what we normally do is create a group of meta fields and add them to a collection, and on every collection the meta data is unique so it needs to be filled out on a per document basis.
We have built a plugin for managing meta data as well and you can read more about it here.
Let me know if I am missing something!