Hello,
I created :
- a flags for flagged contents.
- a flags for flagged the commentaries.
- a flags to flage the products.
I can create:
- a view that displays all flagged contents.
- a view that displays all flagged comments.
- a view that displays all flagged products.
I want to put everything together in one view.
How to display a view that displays both content, comments and flagged products ?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Capture du 2017-07-22 15-10-21.png | 176.46 KB | zenimagine |
Comments
Comment #2
joachim commentedViews list only one type of entity. You can get round this to some extent by starting with one base entity type, and adding relationships.
So you'd make a list of flaggings, add the relationships to node, comments, and products. You then set it to show rendered entities, or merge the fields in table.
Comment #3
zenimagine commentedthank you. What are the views used to display "Flagging" ?
I tested and I manage to get only the identifiers :
Comment #4
joachim commentedYou need to add the relationships as well.
Comment #5
zenimagine commentedI had thought of it, but in relation there is only "User".
Would you have an example ?
Comment #6
joachim commentedDrat, I thought that was implemented already. See #2723703: Add relationship to flagged entities when Flagging is base table.
Comment #7
zenimagine commentedThank you, so my request is feasible?