If you appreciate what the Tesseract project does for you, consider donating to it.
In the Getting Started tutorial we drew up a list of web site administrators by displaying be_users records in the TYPO3 frontend. There are several improvements that can be made to this. Let's say that we want to differentiate between BE users with admin rights (true "administrators") and those without ("editors").
This is really the same thing that we did in the first tutorial. We just want to have two views with each a little tweak: one displays only admins, the other only non-admins. Thanks to Data Filters we can achieve this with no duplication of logic nor templating.
Before starting the actual work, create a new page called "Web site editors" just after the "Web site administrators" we created in the Getting Started tutorial.
As mentioned in the introduction to this tutorial, the main point is to rely on existing Tesseract components as much as possible, to avoid duplication. As a first step copy the "Your administrators" Display Controller content element from the "Web site administrators" page to the newly created "Web site editors" page. Rename it to "Your editors".
Preview in the frontend to make sure that everything went right. You should see the same content, but the page's and the content element's name have changed.
What duplication did we avoid? If you edit the Display Controller element, you will notice that the Data Consumer and the Primary Data Provider are the same as those used on the first page. We didn't have to rewrite our SQL query, nor define the template anew.
Let's now filter out the admin use
Your data filter should look like this:
The last step is to connect this Data Filter to the other components:
Your setup should look like this:
And the output in the frontend should be:
Note how the "admin" user has disappeared.