Posted by pkcho on August 3, 2009 at 5:07pm
I've been trying to figure out the best way to create a staff directory for our newspaper site.
It isn't totally straight forward because I need to separate it by departments and the head of each department will also need to be a part of the Executive staff. Because the department heads are in two places and in different orders, I'm having some difficulty trying to figure out the best way to approach this.
If I create a sort order field, it will apply to one department, but not the Executive team and vice versa...
It basically needs to function similar to this (http://www.the-signal.com/news/contactus/).
Thanks,
Joe
Comments
Multiple profile fields
http://jacksonville.com/resources/staff
Staffers have titles, and can belong to departments within divisions. Note the views that sort sublists.
Jax is D5, and D5 views doesn't know about users, so we worked around the problem with usernodes.
Much simpler with D6, where views can directly query users.
Thank you
Can I accomplish this in views with the built-in user profile? Or do I have to use Node Profile?
Also, how would you approach sorting the staff? Department heads need to be on top in their departments and "Senior Management" includes department heads which requires a different sort order.
Thank you for the help.
D6
With D6, Views is very aware of profile fields, so you don't need to muck around with nodeprofile.
You could control the sort order within a department by implementing a separate "manager" profile field and sorting first by the contents of that field. You wouldn't have to display that field. (Pretty much anything interesting that you do with profiles requires custom templating anyway.)