You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a general issue to describe/document the process for creating this page in Tripal 4.
In Tripal 3, unlike Tripal 2, Tripal Content types were not handled properly by Drupal and therefore the Drupal Views module could not readily use Tripal 3 content types out of the box. After much mucking about, the T3 Species Glossary module was born.
Fortunately, in Tripal 4, we can revert to the previous functionality in Tripal 2 and use Drupal Views to generate a nice glossary of Organisms, or any other Tripal Content Type (analysis, contact, study, publication, etc.).
Updates:
Pre-Alpha (Dec 2022)
In their current format, Tripal Content types can be shown and all of their basic fields can be shown or used to generate hybrid fields. For example, combining "Genus" and "Species" into a single "Organism" column in a table, and then using the entity ID to link to the bio_data page.
Planned - Alpha 3
Sorting and other functions supported by Tripal Content types. This will enable the table in the view to be sorted by the Tripal Content type's fields (sort by common name alphabetically, for example) and also contextual filters. Contextual filters will enable the glossary function from Tripal 2: A (3), B (7), D (2) ... Z (1)
Method:
A new view can be created in Drupal 9 by visiting admin/structure/views/add. In the "View Settings" section, 'Tripal Content' can be selected, followed by the desired type, for example Organism. We want to create a page, so make sure that is checked.
The proceeding steps here are similar to what they would have been in Tripal 2.
Format: Table
Fields: Choose the ones we want. For starting out with the Species glossary, we will want Species, Genus, Common name, (all from bio_data_1 or whichever bio_data_# is associated to Organism), and ID. Remove the default "Operational links" field.
More will be added once the Tripal Content types support more Drupal functionality.
The text was updated successfully, but these errors were encountered:
Tripal 4 Species Glossary
This is a general issue to describe/document the process for creating this page in Tripal 4.
In Tripal 3, unlike Tripal 2, Tripal Content types were not handled properly by Drupal and therefore the Drupal Views module could not readily use Tripal 3 content types out of the box. After much mucking about, the T3 Species Glossary module was born.
Fortunately, in Tripal 4, we can revert to the previous functionality in Tripal 2 and use Drupal Views to generate a nice glossary of Organisms, or any other Tripal Content Type (analysis, contact, study, publication, etc.).
Updates:
Method:
A new view can be created in Drupal 9 by visiting
admin/structure/views/add
. In the "View Settings" section, 'Tripal Content' can be selected, followed by the desired type, for example Organism. We want to create a page, so make sure that is checked.The proceeding steps here are similar to what they would have been in Tripal 2.
The text was updated successfully, but these errors were encountered: