Drupal – Viewing a nodes fields – Devel

Ahh Drupal, you’re one tough cookie to crumble.  If you want to view the structure of your node objects, see the following code:

1. Enable Devel module.

2. In node-{content-type}.tpl.php


4. Don’t forget to wrap the above php code in php tags!

Now you should be able to see all node and content fields. Boom.

Leave a Reply

Your email address will not be published. Required fields are marked *