williecoetzee

No Profile Photo

Real Name: Willem Coetzee

Web Developer

Latest Contributions

  • Print Location information in block

    Hi there,

    I have a node with a location field. I then have a block and I edit the .tpl.php file where I print fields from the node.

    I use print_r($node) to see what I can use. When I view source the location information of that node is nowhere to be seen. All the other fields display fine like... echo node->field_gender[0]['value'];

    This is all I can see about the location field...

    [field_location] => Array
    (
    [0] => Array
    (
    [lid] => 11
    )

    )

    also this...

    [locations] => Array