Jump to content

Lost in the matrix, matrix and selectors


Recommended Posts


I'm lost with my Matrix (profield) and how to look for data using selectors:

I have a matrix ("grid"), it has a 'matrix repeater type' mp4 that contains the fields 'mp4' and 'ratio' (and others):



Under admin / repaters in the backend, things look a bit cryptic:


Now, how do I find the mp4s that doesn't have a ratio?

I would imagine something like


..but I can't get any meaningful results back. If I could only get all mp4's, that would already be a good start...

many thanks


Link to comment
Share on other sites

Can you try:

wire('pages')->find("template=repeater_grid, mp4!='', ratio='', check_access=0");

find() won't find the repeater data pages since they would be restricted due to access control. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...