Printing $node vars in page.tpl.php

Grace_Virginia

New Member
In Drupal's page.tpl.php
\[code\]<?php foreach($node->og_groups as $test) {dpm($test);} ?>\[/code\]Gives me
20091229-ekf6xqg5dxq6cgjsgfty74umfx.jpg
But when I do
\[code\]<?php foreach($node->og_groups as $test) {print($test);} ?>\[/code\]The value doesn't show up. this is kinda frustating..Any help is appreciated.
Cheers!
 
Top