I'm upgrading my D6 site to D7. My node titles are the automatically generated by the Autonodetitle module from two fields in the Location module: the Street and City. Like this: 31 Liverpool street, London.
In D6 I used the following PHP to get this to work.

<?php
return $node->field_location[0]['street'] . ', ' . $node->field_location[0]['city'];
?>

But in D7 it doesn't work. Would you please be kind enough to provide the D7 equivalent of this?

Much obliged...

Comments

mrweiner’s picture

Have you been able to find an answer to this? I've been trying to find the same information with no luck so far.

legolasbo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing support tickets that have been inactive for over a year to clean up the issue queue. Please reopen if this is still an issue.