简体   繁体   中英

Many-to-many reference in Drupal 7

We need to make many-to-many references in Drupal 7. We have Book content type and Author content type. Book contains field 'authors', so it may refer to multiple Authors. We use Entity Reference module to bind entities.

How can we display Books bound with selected Author? How can we do that - without adding a field 'books' to Author content type - with Views module

If you know some good solutions of the 'many-to-many' problem in Drupal7, please write it. Any advice is welcome.

Thanks in advance.

您是否尝试过使用视图并使用“authors”字段作为上下文过滤器?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM