3

I'm using Drupal 6.28 latest views and flag modules (for drupal 6 ofc). I have a node content type "group" which can be flagged. So I'm user with id2 I'll go on node/10 and flag it, then I'll go on node/11 also flag it. Now I want to display all flagged nodes by me on my user page /users/myname.

What I did so far:

1 Created a node view 2 Set up a relationship Flags: User's flagged content, checked Include only users who have flagged content. then chosen my created flag. (for content type "group") 3 added argument Flags: user uid 4 added field "title"

I have 2 flagged nodes but it shows nothing.. What I am doing wrong?

5

1) Create a Node View

2) Add a relationship Flags: Node flag (select the required flags and tick "Include only tagged Nodes"

3) Add another Relationship Flags : User (use the above relationship on this)

4) Add Argument User ID (named Contextual Filters in Drupal 7) and use the relationship "Flags : User"

5) Add the required fields.

  • if i create a user view -> then node fields like image, etc won't be available! – Alexander Kim Jan 20 '13 at 13:59
  • if you add the fag relatinship it will show... – Mohammed Shameem Jan 20 '13 at 13:59
  • Cannot select node fields now when i use user view! – Alexander Kim Jan 20 '13 at 14:51
  • did you add the node relationship? You should try adding the node:author relations ship as well. – Mohammed Shameem Jan 20 '13 at 14:52
  • There's no such an option in relationships.. all what i have is: Flags, Groups, Files (no node) – Alexander Kim Jan 20 '13 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.