Posted by tonyliuh on August 6, 2008 at 8:51pm
Hi, all experts,
Recently I am stuck by the above task. In each book, many people cooperate and finish one book. Some may writes several subsections/sections/chapters. Some may contribute one small sub-subsection.
I wish I post this request in the right place.
Best,
Tony
Comments
making list of book authors with views
you should always specify which version of drupal you're using. i think normally these kinds of questions are put in the regular drupal forum. but seems OK here?? not sure. i'll answer anyway.
i'm going to assume you're using D6, and also the latest version of the views module.
views helps you make lists, so a list of authors would be a case where you need views.
I just tested this out and it worked, so you should be good to go. Write back if you have trouble.
To make a list of book authors with Views module:
To add the block: In the 1st column, add a display, select 'block' and add display. when you go to /admin/build/blocks you will see your new block available, and you can select it to add to the left sidebar or change where it appears.
it doesn't work...
hi.. I have the same need (display a list of nodes authors) and I tryed to build the view the way you indicated.
However the view complain that all fields are hidden, so the view has no fields.
And, if I leave any field displayed, I have authors with several contributions listed multiple times.
Any other suggestions?
It works, but it didn't meet my requirement.
Thank you very much, heather. I know you extract author name according to node. I want to display author's user name one time even though he/she wrote many chapters or sections on many nodes. And there are 6 or more books, and I want to display different author list for different books. May you figure it out? Thanks a lot!
:(
ah.. no i don't know...
oh i missed the point that you wanted book-specific authors... and i suppose you want the list to appear in a sidebar on both the parent and child pages of a book?
yeah the above will list each author once, but for all your books.
sorry i don't know how to do what you need.
good luck in your search, please post back if you find something.
i'm curious now!