Amazing video, but 1 question, when using components for exaple for faqs, I wonder how to apply i18n, and if the ability to publish/unpublish faqs is lost?this is why I have many doubts about components vs collections
Hi, sorry for spamming you, but can't find proper content for my question. I have the following scenario: Collection Type called Articles. Each Article has dynamic zone whit repeatable Components (RichText, Accordion and etc.) Each of the components has description field. In the CMS Articles findMany how the filtering should look like to access the Dynamic Zone components? I tried different combinations like: { content: { ["$or"]: [ { description: { "$containsi": searchTerm } }, { components: { [operator]: [ { description: { "$containsi": searchTerm } } ] } },
Amazing, a must needed series.
Thanks! I’m glad you like it!
you rock my friend!
Great work, Short and to the point
Glad you liked it
Nice! Keep it going
Thanks, will do!
Awesome explanation!
Thank you! Glad you found it helpful!
Amazing video, but 1 question, when using components for exaple for faqs, I wonder how to apply i18n, and if the ability to publish/unpublish faqs is lost?this is why I have many doubts about components vs collections
If you plan to reuse FAQs on multiple pages, I would prefer a collection with relations. I see components really as reusable fields, not data.
Nice!
Thanks
Why does the home page has a slug of "home"? shouldn't be just the slash?
Hi, sorry for spamming you, but can't find proper content for my question. I have the following scenario:
Collection Type called Articles. Each Article has dynamic zone whit repeatable Components (RichText, Accordion and etc.) Each of the components has description field.
In the CMS Articles findMany how the filtering should look like to access the Dynamic Zone components? I tried different combinations like:
{
content: {
["$or"]: [
{
description: {
"$containsi": searchTerm
}
},
{
components: {
[operator]: [
{
description: {
"$containsi": searchTerm
}
}
]
}
},
👍