craft.entries

Curious how the craft.entries tag works? From the craft variable to the Entry element type to the ElementCriteriaModel, let's dig as deep as we can and find out how this tag works in our templates and how we can access it in our plugins.

Curious how the craft.entries tag works? From the craft variable to the Entry element type to the ElementCriteriaModel, let's dig as deep as we can and find out how this tag works in our templates and how we can access it in our plugins.

  • 00:39 craft.entries: syntax and parameters
  • 07:45 the search parameter
  • 15:55 The craft variable
  • 22:55 ElementCriteriaModel
  • 25:40 Elements and the Entry Element
  • 29:22 findElements() function and modifying the Element query
  • 36:44 Accessing the database with Active Record and custom queries

Level up in Craft CMS with practical examples, snippets, and patterns.
Craft The Planet emails are sent out several times a week.