Hi<br><br>This is reference to <a href="http://drupal.org/node/17565" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://drupal.org/node/17565</a><br><br>I am using a new template file for a new content type I made using CCK.
<br>How can I access the individual fields that I created, in the template file ?
<br><br>I tried this :- <br><?php print serialize($node->field_idnumber)?><br>(field_idnumber was the field that I added)<br><br>and the output I got looked something like :- <br>
a:1:{i:0;a:2:{s:5:"value";s:6:"123123";s:4:"view";s:6:"123123";}}<br><br>Now how can extract the data i.e 123123 from this ? <br><br>The article mentioned above, says that probably a php code is needed for this ? Can't it be accessed in way similar to title
i.e $node->title <br><br>PS : I did tried this :- $node->field_idnumber->value but this doesn't seem to work<br clear="all"><br>Thanks and Regards<br>Abhinav Jain