Closed (fixed)
Project:
Name Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Oct 2010 at 12:16 UTC
Updated:
12 Sep 2011 at 15:11 UTC
Hi
In version 1.3 beta the now depreciated token [field_name-formatted] used to work in the Auto Node Title module.
With the new update it stopped working, and I have tried all new tokens too.
Any Ideas?
Comments
Comment #1
alan d. commentedYes, there was a missing function parameter in the refactored file that was rushed through after fixing a fatal error when running update.php
I've just committed to CVS, so the dev version should contain the fix for this. I haven't a testing environment set up, so let me know if this fixes the issue.
The dev version should be dated approx. 18 Oct.
Comment #2
dkane commentedI was having the same issue after updating to 6.x-1.4. Updating to 6.x-1.x-dev solved the issue for me.
Thank you Alan!
Comment #3
alan d. commentedComment #4
kvguser commentedStill not working for neither 7.x-1.x-dev, nor 7.x-.0-alpha1.
Please address it.
Comment #5
alan d. commentedI will look into this when I have time
Comment #6
Vasu commentedIssue not solved
Comment #7
alan d. commentedYes, when tokens were added to core, the api changed. So the D6 code for the tokens that is in the D7 version no longer works.
It is on my todo list and I have done the base coding, but it needs testing.
I'll supply the code if someone is interested - like it needs complete testing as I haven't even run it once in a browser yet - it could crash and burn an installation [unlikely, but possible]
Comment #8
alan d. commentedAlso see #691078: Field tokens. It's pointless starting until this patch for the Token module is in sorry.
Comment #9
tonycpsu commentedThere's a patch to #691078: Field tokens that people are suggesting does the trick. Would be happy to test the name tokens patch on my system.
Comment #10
johnvAlan, if you supply the (outdated) patch, we can test/amend it for you.
Comment #11
Andrew Schulman commentedDitto here. Alan, it seems that people are successfully using the field token patch at http://drupal.org/node/691078#comment-4499612. So if you'll supply us whatever work you have so far on tokens for the name module, we'll start testing it and probably getting it to work.
If the name module will provide name tokens, then name + auto_nodetitle + pathauto will give me complete solution for a "Person" content type with title and path alias set automatically according to the person's full name. Exactly what I want!
Thanks,
Andrew.
Comment #12
Andrew Schulman commentedComment #13
tchopshop commentedsubscribing
Comment #14
koro commentedsubscribing
Comment #15
alan d. commentedI need this too guys, but I can not start until the contrib issues with Token module are resolved. :(
There is a issue that is prevent Dave from completing that one, and no feedback has been given to what that issue actually is. I'm checking the token thread every few days for progress... Stuarts patch looks fine to me, so I'm not sure why it doesn't get reviewed / committed.
To progress this, ping the token module thread, create new issues THERE about it and maybe even ping the contributors directly. Strangely Dave has been fast and responsive to other issues that I have posted!?!
Currently, I have dropped pathauto / token altogether and I'm manually doing path aliases. This sucks!
Comment #16
skhot commentedDoes anyone have any suggestions on how to makeshift/hardcode a solution until #691078: Field tokens is resolved?
Comment #17
alan d. commentedIt took a while, but there is finally some support now! The newer versions of Token supply a default token based on the field displays. This is the default format that the name module provides.
Comment #18
alan d. commentedBTW, I'm still tracking Token for better solutions.....