In Drupal 11.4.5 I have a website about biographees and the works where they show up. Each biographee shows up in one particular chapter of each work, however not every work is ready to show the information online. I have the content types below:
– People: This content type includes biographees. When the user add a record of this content type, they have to select one or more roles between: Biographee, Author or Translator.
– Works: This content type refers to the books or collections of biographies
In another hand, the works have usually different chapters that correspond to the biographees, so we have different Menus, once for each Work.
Every biographee and every work have their own page with details, for instance the biographee’s page show: Name, roles, birth date, occupation, related works as an author and works where appears as a biographee. Whike the work page shows: Title, Author, Language, Year of publication, the list of Biographees and the index of chapters where every chapter corresponds to a biographee but not always has the name of the biographee, so at the moment we have it like a drupal Menu with one link label and one link URL/URI for each chapter and one menu for work.
At the moment we add the list of biographees in every work throuh a multiselect field and that helps us to display the list of biographees in each work’s page as well as the work or works where the biographee appearas in the biographees page. For insttance, in one of the biographees called Alvaro de Luna, we have an information table like this one:
| Name: | Álvaro de Luna |
| Role: | Author, Biographee |
| Birth Date: | 1390? |
| Birth Place: | Cañete (Cuenca) |
| Gender: | Male |
| Death Date: | 1453-06-02 |
| Death Place: | Valladolid |
| Occupation: | Constable (Condestable) Condestable of Castille (Condestable de Castilla) |
| Work (Author): | Libro de las claras e virtuosas mugeres |
| Works (Biographee): | Crónica de don Alvaro de Luna Generaciones y semblanzas |
Where the Work (Author) and Works (Biographee) rows show the name of each work linked to the work page. Now, we would like to go further and have not only the link or links of the Work or Works where the Biographee appers but also the link of the chapter dedicated to the Biographee in this Work. As I said, not all Works have already their menus done but for instance, in the case of Alvaro de Luna, the Work “Generaciones y semblanzas” has its menu done and has a chapter called “Don Alvaro de Luna” with the URL “https://archbio.miami.edu/works/generaciones-y-semblanzas/text/#gys_34_luna”, so we would like to display in the Works (Biographee) row the link of the Work that we already have, followed by the link of the chapter “Don Alvaro de Luna” as shown below:
| Name: | Álvaro de Luna |
| Role: | Author, Biographee |
| Birth Date: | 1390? |
| Birth Place: | Cañete (Cuenca) |
| Gender: | Male |
| Death Date: | 1453-06-02 |
| Death Place: | Valladolid |
| Occupation: | Constable (Condestable) Condestable of Castille (Condestable de Castilla) |
| Work (Author): | Libro de las claras e virtuosas mugeres |
| Works (Biographee): | Crónica de don Alvaro de Luna Generaciones y semblanzas Don Alvaro de Luna |
I imagine we will have to add extra fields to the People content type in order to have something like this. Would you please help me to find out the best possible way to have this done? Feel free to ask anything, I am happy to share any details you may need for this.