Drupal

Drupal | Multiple authors for an article and Views with one to many relationships. Part two

In Part one I described the challenge of creating a view which displays a list of Articles (nodes) which have a multi-value reference field pointing to one or more Writers / Authors (users). We want each article to be listed only once regardless of how many writers it has and we want several fields from the related writers displayed below the article title etc.

Drupal | Multiple authors for an article and Views with one to many relationships. Part one

I know this is supposed to be a ham radio blog but I'm going to switch channels to Drupal for a moment.

I'd like to share my solution to a problem which I've encountered several times. Specifically, it is how to have more than one author for an article and display a list of articles using Views which shows the authors for each article in a natural way. More generally its a technique to merge the output of two views into one where there is a one to many or parent to child type relationship.

The good news about Drupal

I have been playing with content management systems on and off for several years. I've had experience with and developed modules for DotNetNuke and have some part in the ongoing maintenance of a large Joomla site.

Syndicate content