Active
Project:
Audio
Version:
5.x-1.3
Component:
Views support
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2007 at 17:53 UTC
Updated:
3 Aug 2009 at 18:44 UTC
Hello,
I have tried hours of searching in the views but cannot figure out how to do this simple thing...
I want to be able to list audio by the user ID who created it.
Example:
"List all Bob's audio"
"List all John's audio"...
so, I need to create a listing that will show only audio nodes created by specific users. When I create the links I know the users UID so that is not a problem. But just getting a listing of ONLY the audio nodes created by a specific user is the problem.
Can anyone please help me with this? I have spent all day yesterday trying to get this done but no luck. This cannot be that hard! :)
Thanks!
Comments
Comment #1
AldenC commentedI have an identical need.
I wish the filters permited node author is page author. This way a block could be assigned to blog/* and the filter would check to see if the page author matched the audio node author. I could see how this option could be beneficial for other views too.
Wish I knew PHP...
Help!
Comment #2
ferrangil commentedI don't have the audio module installed, yet, but I think this is quite easy to do with the Views module.
You just need to create a view, check page or block (to be able to put the list somewhere), and then, in the Filters, filter by node type is one of "audio" (or the name of your audio content type), and also you can add the filter for the UiD, or you can filter it "dynamically" for each page (depends on the number of users. If you just have a few users, do it by hand, if you have hundreds, you probably need the second option).
And, in the Views, in the Fields part, add all the fields you want to display (probably the audio itself, and the title maybe... duration... number of visits of the node... etc).
There are lots of small tutorials with screenshots and so on, to learn to create easy views, so I recommend you to do one of them, and then change what you need for your case.
Good luck!
Comment #3
dru_paul commentedferrangil (and anyone else)
I've tried to follow your message but without luck. I found no way to filter by UID in the Views module. I found filter by User Name, but that is by specific users. That is, you can't just tell it to show for every user. That would mean that every time a new user is added you need to update the settings (if I follow it correctly).
Basically, I have posted audio files that appear on the front page and on the individual node page, but which do not appear on the author's blog page.
Has anyone figured out how to get audio content types to appear on the author's blog page?
Thanks!
Paul G