Hi,

I want to make my title field to be the location address submitted in the node address field. I see that in the replacement fields there is a [location-street_N] pattern but it is not replacing it with the street address. I am able to replace it for other fields like author name etc but location does not work. When I look at the node in devel I see that the value is set.
Can you please help me with this issue.

Thanks,
Prerna

Comments

jarchowk’s picture

Also doesn't work when trying to use location city.

pmathur01’s picture

Category: support » bug

yes it doesn't work for city as well. Is there any way else that I can set the title to node location address.
Prerna

jarchowk’s picture

Seems like a problem with CCK locations http://drupal.org/node/326755#comment-2767342

So work-around is to use php. Worked for me.

pmathur01’s picture

cool, worked like a charm.. I had tried this earlier but I guess I had made some error.. Thanks.

pmathur01’s picture

Status: Active » Fixed
Conradical’s picture

After I re-re-re-read the notes included I discovered that I needed to substitute N with 0 [location-street_N] [location-street_0]

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.