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

alan d.’s picture

Assigned: Unassigned » alan d.
Status: Active » Needs review

Yes, 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.

dkane’s picture

I 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!

alan d.’s picture

Status: Needs review » Fixed
kvguser’s picture

Version: 6.x-1.4 » 7.x-1.x-dev
Status: Fixed » Needs review

Still not working for neither 7.x-1.x-dev, nor 7.x-.0-alpha1.

Please address it.

alan d.’s picture

Title: Name Tokens not working with Auto Node title » Name Tokens not working
Status: Needs review » Active

I will look into this when I have time

Vasu’s picture

Issue not solved

alan d.’s picture

Yes, 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]

alan d.’s picture

Status: Active » Postponed

Also see #691078: Field tokens. It's pointless starting until this patch for the Token module is in sorry.

tonycpsu’s picture

There'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.

johnv’s picture

Alan, if you supply the (outdated) patch, we can test/amend it for you.

Andrew Schulman’s picture

Ditto 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.

Andrew Schulman’s picture

Status: Postponed » Active
tchopshop’s picture

subscribing

koro’s picture

subscribing

alan d.’s picture

Status: Active » Postponed

I 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!

skhot’s picture

Does anyone have any suggestions on how to makeshift/hardcode a solution until #691078: Field tokens is resolved?

alan d.’s picture

Status: Postponed » Fixed

It 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.

alan d.’s picture

BTW, I'm still tracking Token for better solutions.....

Status: Fixed » Closed (fixed)

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