I have a content type, and I would like to add a field (full html) in which to paste Adsense code for a single ad.

My intention is to have that single ad code appear in the body of all nodes of that content type.

I have tried adding a text field, but I am unable to make the formatted code appear in the node.

Any suggestions would be greatly appreciated. Thank you.


wrathfulsquirrel’s picture

Are you already printed the proper node object in the node.tpl.php file and the code doesn't show?

davidh59’s picture

No, I have not inserted the code into the node.tpl.php file... I was hoping to be able to display the field like we used to do in Drupal 6, with a CCK field that would give me the option of formatting it as markup text. Perhaps this is not possible in D7? Thanks