Closed (outdated)
Project:
Location
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2010 at 16:50 UTC
Updated:
20 Jul 2016 at 05:51 UTC
Jump to comment: Most recent
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
Comment #1
dave reidNot sure. You'd have to ask someone more knowledgable about location.module.
Comment #2
entilza72 commentedHi 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.
Comment #3
entilza72 commentedHi 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
Comment #4
upupax commentedSame for me.
I've tried both [location-name_0] or [field_mycontent_mylocationfield_name], but automatic title doesn't replaced the value.
Comment #5
legolasboClosing old D6 issues as D6 is end of life