Is it possible to get all elements in a Matrix field by type or field name
There is no craft.entries.matrixes variable available natively in Craft.

(craft.entries returns an ElementCriteriaModel, which does not have a matrixes property explicitly set.)

So, craft.entries.matrixes is actually looking for ElementCriteriaModel-&gt;matrixes(), which could implicitly exist if:


You have a field called matrixes, or
There's a plugin in the mix that is changing functionality


You'll need a plugin to run these custom queries. Luckily Craft's MatrixService has plenty of methods that would be helpful.

Also, Low created a plugin (LowBlocks) to do this sort of thing, which might fit your need, or at least offer a helpful starting point.