Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2011 at 09:51 UTC
Updated:
4 Nov 2011 at 16:09 UTC
Using CTools Version 7.x-1.x-dev
I wanted to make a page called My Files.
So I wanted to add a filter like so. ( http://i.imgur.com/x8HTW.jpg )
Before updating to the dev versions of both modules (views, ctools) I had four choices, but uid was not one of them. See attached ( only one choice now ).
| Comment | File | Size | Author |
|---|---|---|---|
| screen.jpg | 28.29 KB | kentendo |
Comments
Comment #1
dawehnerIn general you have to use relationships now. I guess you have a content view, so you have to add a node: author relationship.
Once you have added it you have the filters/contextual filters availible.
Comment #2
kentendo commentedThanks Dereine. Very helpful. I wish I knew where to find all this info.
Comment #4
AniaMi commentedI installed Profile2 module, so every user have Node Reference field and can have relationship with some content. How can I use user:uid in contextual filter - "User" is not visible at all, when I click "add" in contextual filters? How can I achieve this?
I want to have all content belonging to logged user (using this relationship - node reference)
I'm waiting for any help, because I have no idea how to do it.
Anna