How do I print out a field I created a new content type with several fields in it. How would I print out those fields anywhere on the page that I need them like in the sidebar and other areas? What is the syntax for printing out a field? Also, I think I have to name a PHP file after the content type. What do I name it in Drupal 7?
This is best accomplished with Render Arrays. Please read Theming Node Form into Regions for a tutorial.