# contain

Published articles for contain.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Searching Craft CMS Matrix Blocks

DevFeed: [Searching Craft CMS Matrix Blocks](<https://devfeed.tech/articles/searching-craft-cms-matrix-blocks-31293.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/searching-craft-cms-matrix-blocks>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2021-11-26T05:00:00Z

Content type: tutorial

Language: en

Sources: [nystudio107 | Articles on modern web development.](<https://devfeed.tech/sources/nystudio107-articles-on-modern-web-development.md>)

Topics: [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [Content Management System](<https://devfeed.tech/topics/cms.md>)

Tags: [based](<https://devfeed.tech/tags/based.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [cms](<https://devfeed.tech/tags/cms.md>), [contain](<https://devfeed.tech/tags/contain.md>), [contents](<https://devfeed.tech/tags/contents.md>), [craft](<https://devfeed.tech/tags/craft.md>), [custom](<https://devfeed.tech/tags/custom.md>), [easily](<https://devfeed.tech/tags/easily.md>), [elements](<https://devfeed.tech/tags/elements.md>), [entries](<https://devfeed.tech/tags/entries.md>), [insights](<https://devfeed.tech/tags/insights.md>), [little](<https://devfeed.tech/tags/little.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [php](<https://devfeed.tech/tags/php.md>), [query](<https://devfeed.tech/tags/query.md>), [twig](<https://devfeed.tech/tags/twig.md>)

### AI overview

A tutorial on querying Craft CMS Entries by the content of their Matrix blocks. It explains how to find matching Matrix blocks, collect their owner IDs, and use those IDs to filter an Element query, including a generalized approach usable in Twig.

### Source excerpt

With a little custom Behavior, we can easily query for Elements such as Entries in Craft CMS based on the contents of the Matrix Blocks they contain

## Zen and the Art of Craft CMS Log File Reading

DevFeed: [Zen and the Art of Craft CMS Log File Reading](<https://devfeed.tech/articles/zen-and-the-art-of-craft-cms-log-file-reading-31323.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/zen-and-the-art-of-craft-cms-log-file-reading>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2019-07-22T05:00:00Z

Content type: tutorial

Language: en

Sources: [nystudio107 | Articles on modern web development.](<https://devfeed.tech/sources/nystudio107-articles-on-modern-web-development.md>)

Topics: [Logging](<https://devfeed.tech/topics/logging.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [black](<https://devfeed.tech/tags/black.md>), [cli](<https://devfeed.tech/tags/cli.md>), [contain](<https://devfeed.tech/tags/contain.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [diagnose](<https://devfeed.tech/tags/diagnose.md>), [file](<https://devfeed.tech/tags/file.md>), [files](<https://devfeed.tech/tags/files.md>), [forensic](<https://devfeed.tech/tags/forensic.md>), [information](<https://devfeed.tech/tags/information.md>), [insights](<https://devfeed.tech/tags/insights.md>), [learn](<https://devfeed.tech/tags/learn.md>), [let-s](<https://devfeed.tech/tags/let-s.md>), [like](<https://devfeed.tech/tags/like.md>), [logging](<https://devfeed.tech/tags/logging.md>), [php](<https://devfeed.tech/tags/php.md>), [precious](<https://devfeed.tech/tags/precious.md>), [problems](<https://devfeed.tech/tags/problems.md>), [reading](<https://devfeed.tech/tags/reading.md>), [recording](<https://devfeed.tech/tags/recording.md>)

### AI overview

A tutorial on reading Craft CMS log files to diagnose problems, including how Craft separates web, 404, console, queue, and PHP error logs in the storage/logs/ directory. It also discusses using the Debug Toolbar to search, sort, and filter logs during local debugging.

### Source excerpt

Like a black box recording, log files contain precious forensic information for when you have to diagnose problems. Let's learn the art of reading them