I'm in the process of building a database application for my employer.
I've built the sample origin node, and have mostly built the Nodes for the Tests we're running, but since we are usually testing certain parts of each origin, we tend to label which section they are from. HOWEVER, there are only about 15 possible testable regions.
E.g. (if it was Biology)
Origin: (Patient 52362)
Subtype: lymph nodes
Test results node 26564: blahblahblah
Test results node 545464: blahblahblah
Subtype: Brain
Test results node 1514561: blahblahblah
etc
My question is: which module would be best to use to be able to filter to only see the child test records for lets say, lymph nodes?
I want to just make subtype a drop-down in the test results, but would this still work? or am I forced to create a middle node type?
I'm still fairly new to drupal and have not had much luck with searching due to probably not using the right word on searches.
Thanks!
Comments
Views
You should learn everything you can about the Views module and Views plugins.
With Views you can build content displays that are essentially joins between two content types.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
Thank you!!!
Thank you!!!
Its good knowing which direction to focus on.
(am I safe to assume that this makes the drop downs the way to go with using views?)
thanks!
The Views module is a vast
The Views module is a vast and powerful tool.
Views are central to the power of Drupal.
Views can be very simple, or extremely complex.
The Views module/system supports "plugins" of many sorts to help display data in a variety of ways.
You'll need to search the module search tool on drupal.org to find the hundreds of Views plugins.
Classic textbook example of joining two content types would be house inventory:
Rooms
Items
Where the Views module could be used to create presentations of joins between those to content types.
Install Views.
Spent a week reading all the documentation and learning to build basic views before tackling the actual problem you want to solve.
(download and install)
https://www.drupal.org/project/views
(here's a great View plugin module that makes building a FAQ page with accordion display a snap)
https://www.drupal.org/project/views_accordion
(read the following and related documentation articles)
https://www.drupal.org/docs/8/core/modules/views/overview
https://www.drupal.org/docs/7/modules/views/what-is-views
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
THANK YOU!!!!!
THANK YOU!!!!!
I have a TON of reading ahead of me now, but you've shown me the path I need!
Have a great weekend!
Views + Better Exposed Filters
Install those and just learn how to use views. ;)
important - watch the following great video on node references
Important - watch the following great video on node references, which may help you a great deal.
https://www.youtube.com/watch?v=rDMc5FDHi7c
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...