By Rotwang on
I followed the tutorial to create a new content node type with a module, which was very helpful.
Now that I have some of those nodes, I want to select them all in my php. I could do this myself by doing the select and the join, etc, but I'm wondering if there's an accepted best-practices way to do it in Drupal already.
I want to "select all nodes of type "mynode" and join their corresponding data into the results".
Should I just do my own raw dbquery or is there a drual way to select a list of nodes?
Comments
Views
If I read your question correctly, the module you're looking for is called Views :
http://drupal.org/project/views
Cheers :-)
efolia
yep views is a querry
yep views is a querry builder. (may want to have a look at the contemplate.module (for themeing CCK) and panels.module (views layouts) views has quite a few addons, as does CCK.
documentation for views can be found here:
http://drupal.org/node/63230
http://drupal.org/node/109604