It would be great to provide a page listing all users who are currently DJs.
This would and show a list with user name, profile picture if enabled, and that person's programs.
I've had a look at doing this myself, and fallen at the first hurdle: I can't get an extra item to appear on the /station/ page. I'm adding an item to station_schedule_menu but it doesn't show.
Also, which module should this be in? I assumed the programs list page was in the program module, but it's in schedule module, so I'm not sure where to put this.
I'd appreciate pointers on the SQL query to pull out users who have programs too :)
Comments
Comment #1
drewish commentedi think you should try to do it using views. it might be some work to add some new new fields but it'd really improve the views support...
Comment #2
joachim commentedI don't think it's possible to get a view to show a list of users.
There's usernode/nodeprofile modules that do node-type things with users, but I have given up trying to understand how to use them, and I imagine you don't want station to have an extra dependency.
Comment #3
mattrock commentedMy technique:
It's a pretty simplistic setup, but when it comes to metadata, I like simple.
Comment #4
drewish commentedi've come around, this is something that the station module should provide...
Comment #5
joachim commentedViews2 for D6 will be able to provide queries on tables other than node -- in other words, it should be able to create this.
Comment #6
drewish commentedyeah, it might be best to just wait for that...
Comment #7
drewish commentednow that i'm doing it in view2 and the djs are userreferences this should be easy enough.
Comment #8
cookiesunshinex commentedShouldn't this be closed?
1. Setup a role called DJs
2. Setup your programs using the DJs that have registered on your site.
3. Add the DJs role to the relevant usernames.
4. Create a view using fields User:Picture, and User:Name, and any other fields you have added to your profiles such as Profile:City.
5. Use the Filter User:Roles=DJs
The only thing that I would like to see, but it is a very very low priority is auto complete only from the DJ role when creating a program.