Yes. The ability to extend the data associated with a node, such as with CCK.
See http://api.drupal.org/api/HEAD/function/hook_load
hook_load() is a crucial function. Without it, you get incomplete node data.
- Ken Rickard
agentrickard
Hello,
I've been reading through the node.module code for a project and came
accross the node_page_default function. As far as I can tell this is
used for the traditional list of nodes for a drupal homepage.
The documentation page is here: http://api.drupal.org/api/HEAD/
function/node_page_default
My question is, couldn't this function be made to use just one
database query? as it stands it uses node_load() for every node that
needs to be displayed on the page so if you want to display 30
teasers, that's 30+ database hits. Am I missing something here?
Keizo