Yes. The ability to extend the data associated with a node, such as with CCK.<br><br>See <a href="http://api.drupal.org/api/HEAD/function/hook_load">http://api.drupal.org/api/HEAD/function/hook_load</a><br><br>hook_load() is a crucial function. Without it, you get incomplete node data.
<br><br>- Ken Rickard<br>agentrickard<br><br><div><span class="gmail_quote">On 7/13/07, <b class="gmail_sendername">Keizo Gates</b> <<a href="mailto:kzo@kzo.net">kzo@kzo.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I've been reading through the node.module code for a project and came<br>accross the node_page_default function. As far as I can tell this is<br>used for the traditional list of nodes for a drupal homepage.
<br><br>The documentation page is here: <a href="http://api.drupal.org/api/HEAD/">http://api.drupal.org/api/HEAD/</a><br>function/node_page_default<br><br>My question is, couldn't this function be made to use just one
<br>database query? as it stands it uses node_load() for every node that<br>needs to be displayed on the page so if you want to display 30<br>teasers, that's 30+ database hits. Am I missing something here?<br><br>Keizo
<br><br><br></blockquote></div><br>