I apologize for writing this, but after 15 mins of doing searches i can't seem to find out, how in a node template (phptemplate), i can just do a quick check of which taxonomy ID a particular node is posted to. Help please ;-)

Comments

BlakeLucchesi’s picture

If you are familiar with how to access data from an array then this should get you all the info you need.

add this into your node.tpl.php file

<code>
<?php print_r($node); ?>


This will print out for you all of the data that is stored in the node variable array.

You will be able to access the data in the following fashion $node->title this holds the value of the Title for that node. etc.

luyendao’s picture

Thanks blucches, that's exactly what i needed, besides i prefer snooping around, but in this case i was a bit stumped.