I’ve content material sort known as assortment that has an entity reference area (a number of) that references one other content material sort known as books. One Drupal Development Company assortment node web page, I need to render all of Drupal Development Company books as linkable titles, with a button subsequent to them that claims “add annotation to e-book” it will hyperlink Drupal Development Company consumer to create a 3rd sort (entity) that has a reference area pre – populated.
So my query is that this, how do I re- format Drupal Development Company books fields of my assortment sort to satisfy my use case. To this point I’ve toyed with Drupal Development Company following choices.
-
Add a customized node–book.tpl.php file and place code that take Drupal Development Company reference area, loops by means of it, does and entity load on every referenced entity, then provides customized html to Drupal Development Company add type of Drupal Development Company third content material sort
-
Alter Drupal Development Company field–type.tpl,php and add it in right here – cannot determine this feature as a result of I am undecided find out how to retrieve Drupal Development Company nid, hyperlink, and title from this template.
-
Create a customized show for my e-book entity and set Drupal Development Company area on my assortment to render as this new show (this created different issues, I do not know if it is attainable to have a separate template for this new show, and this sophisticated it).