Score:0

How to filter out content by compare field value in user profile?

in flag
TKY

Is there any way to filter out content by compare values of the same field in nodes and user profile?

  1. I have a fivestar rating field "field_diffculty" in several content types and user profile
  2. The goal is to filter out nodes with values of "field_diffculty" which equal or lower than the same field in current login user profile.
  3. In views, it seems very hard to do such a comparison, for user and content are different entity types. I have tried many ways to create such a view, but whith no luck.

It seems views:php is the only way out, but I don't know how to write the correct codes.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.