[support] node_load in Drupal 7

Joel Willers joel.willers at sigler.com
Mon Jan 23 21:32:41 UTC 2012


In Drupal 6, you could node_load( array( 'title' => 'node title', 'type' => 'page' ) 
Is there something similar in D7? It seems to force you to know the NID. I need to load by node title.

This is actually for a Panel context, which is NID also, so I was going to make a new argument for Node Title. I think there is a Views Context, but I don't fully grasp that right now, so I haven't really looked into it. Suggestions?


Joel Willers



More information about the support mailing list