Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Views Data
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
19 Oct 2008 at 07:56 UTC
Updated:
5 Feb 2012 at 10:44 UTC
Hi,
I am unable to find the filter of views according to author of node.
I can only find Author of comments.
Are this 2 the same?
Thanks.
Comments
Comment #1
merlinofchaos commentedOn a 'node' view everything under 'User:' refers to the author. The term author can't be used here since there are other view types where 'Author' is completely inappropriate.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
bjste commentedI have the same problem right now and I do not understand what you mean.
I can't use the "Node: User posted or commented" caus I only want to sort by who posted the news.
How can I do that!? Please help!
Comment #4
ionmedia commentedsame problem
i have node type "typeA" and each user can create node of this type only once
i want to display block for each user with views like:
"You already have this node, created by you at [node:date] with fields [content:fieldxxxx].
You can't create another node of this type"
and link More>> to go to the full page of this node
if user don't have this node view will be empty and we can display him another data with instructions for creating his node of this type.
for this idea i done:
1. new view with block
2. select fields for displaying in block
3. filter by content type, publishing and other options
here i want to add filter for displaying fields only from those nodes, what created by viewing user, but i don't see this filter, i can only input static user name in text area.
how to filter nodes by author = current user?
maybe using filter fo displaying only nodes with [node:author id] = [user:id], but i don't know how realize it.
many thanks for any help
Comment #5
dawehneruse the "user: current" filter.
Comment #6
ionmedia commentedi want to close issue, because find same answer.
thank you, dereine, for your support
Comment #8
optidel commenteduse the "user: current" filter.
That definitely isn't very obvious. The previous way was more user friendly.
Comment #9
tinny commentedHow to filter depending on the author of the node (D6):
For block:
1. arguments
2. User: Uid
3. Action to take if argument is not present: Provide default argument
4. User ID from URL
Comment #11
klidifia commentedExcellent! Thanks.
Comment #12
lydialitt commentedI'd like to filter by the user that's currently logged in - want to bring up all nodes where the current user is the author. I'm not seeing a filter that refers to the current user. I'm using D7. Thanks for any help.
Comment #13
dawehnerJust add a user: current filter.
Comment #14
tinny commentedIn d7, I think you have to add a Content:author relationship first before you can use the User:current filter
Comment #15
dawehnerOH right.
Well it's kind of a problem if you rely your answer on the version-property of the issue :)