I need to theme my node.tpl.php but i cant figure out what variable to include in my node-services.tpl.php file to include the map and address?
I need to theme my node.tpl.php but i cant figure out what variable to include in my node-services.tpl.php file to include the map and address?
Comments
Comment #1
UNarmed commentedYou can print the map in your custom node.tpl.php with
print $node->field_location2['0']['view']Comment #2
superstar commentedDownload and install the Devel module. This will tell you what the field variables are when you select dev loader.
Comment #3
UNarmed commentedHey i tried that. When i want to print the address for example with with the below i just get a error and nothing below that line loads.
Comment #4
GolDRoger commentedCheck this http://drupal.org/node/874718
I have explained here how to do this.
Greetings Luke