Hello,

Does anyone know what the php would be to print the teaser of a specific node?

Thanks.

Comments

H3rnand3z’s picture

Use node_view function, There is a sample here http://drupal.org/node/110950#comment-190647 and a description here http://api.drupal.org/api/4.7/function/node_view

roni1’s picture

Thanks, That is just the info I needed, I didn't know the right thing to search for when I was searching to see how to do it.

However, I do not know enough to be able to apply the parameter info in the description of the node_view function to the example showing how to print a full node to make it print a teaser only. If this is something that would be easy to explain that would be a huge help.

Thanks again for pointing me to that info H3rnand3z!