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 ).

CommentFileSizeAuthor
screen.jpg28.29 KBkentendo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Fixed

In 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.

kentendo’s picture

Thanks Dereine. Very helpful. I wish I knew where to find all this info.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

AniaMi’s picture

I 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