Posted by pkcho on March 11, 2010 at 9:03am
In OP 1.6, I had created a "More by this author" block which displayed other stories written by the same author as the current story being viewed.
Now that the author is a separate node and referenced via node reference, I'm having a difficult time duplicating that block.
I know there is an "author_articles" view, which displays when you click on the author's name, but when I place that block on the same page as an article, nothing shows up (it does not show other stories by the same author).
Anyone have a clue how I could create this in the OP 1.7?
Thank you.
Comments
One way I have done it
It require a new module Views Arguments Extras http://drupal.org/project/views_arguments_extras
Which will add a default option to arguments, that will pull from the current nodes cck fields (much like the built in default node id)
So if you set up an argument of Content:op_author, and then set the default to be the cck field op_Author it will pull all articles that have the same author.
Great! Thank you.
I'll try it tonight and let you know how it went.
Thanks again.
It worked perfectly.
Thank you!
Can't seem to get this working
EDIT: solved, my mistake (silly me mixed up two different views ehem)
I did exactly what said in the previous post, yet it shows all the articles on the site rather than those of a particular author.
And all articles of the site are shown. What am I doing wrong here?