Hi,
i like to replace the nodetitle with the location name from the location module.

i choose the [location-name_N] token, but didnt get it filled right.

any ideas how to bring it to work?

Comments

dave reid’s picture

Project: Token » Location
Version: 6.x-1.14 » 6.x-3.x-dev
Component: Token Actions » Code

Not sure. You'd have to ask someone more knowledgable about location.module.

entilza72’s picture

Hi Josch,

I have posted a similar question, except in reverse (getting a node's title inserted into the Location Name field) here:
http://drupal.org/node/915972

I'm happy to work in reverse to what I have posted, if a solution is known!

Cheers,
Jason.

entilza72’s picture

Hi again Josch,

I have taken a look at the auto_nodetitle module.

It does in fact work the way you want it. The trick is you cannot simply use "[location-name_N]" as the token. N refers to an itteration number, as each node can have more than one location.

If your node only has 1 location, use [location-name_0] and it should work for you (it did for me).

Sadly, this does not solve my problem because it appears the Location module does not send the Location Name to google, something that would vastly improve the quality of the results if it did. For those interested in helping out on that issue, please go to http://drupal.org/node/915972 where I will continue to seek solutions and post my findings.

Thanks,
Jason

upupax’s picture

Same for me.
I've tried both [location-name_0] or [field_mycontent_mylocationfield_name], but automatic title doesn't replaced the value.

legolasbo’s picture

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

Closing old D6 issues as D6 is end of life