Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I use Entity API and Pathauto to make my node links looke like:
[node:nid]/[node:field-category:0]/[node:title]
I've got Drupal 7 and dev version of Entity Api (same problem with 1.0-rc3)
After enabling and configuring path generating works properly. Problem happens after several minutes. Token [node:field-kategoria:0] stops working, pathauto is making new links (wants to change also already made node urls when cheked "Generate automatic URL alias" on editing node) so they look like [node:nid]/[node:title]
Everything backs to normal when I enable or disable ANY module on my site.
Comments
Comment #1
Back From 7 CreditAttribution: Back From 7 commentedI have the same problem. Pathauto module does not work with Entity Tokens module. When turning off Entity Tokens, pathauto works correctly...
What is the consensus on this? This is all over the pathauto issue queue.
Comment #2
capellicThere is a lot of voodoo surrounding Entity API/Entity Token. Check out this case #1267966: Pathauto patterns are not showing up and specifically this comment:
http://drupal.org/node/1267966#comment-6850104
Comment #3
Back From 7 CreditAttribution: Back From 7 commentedPOSSIBLE FIX:
http://drupal.org/project/token_tweaks
This thread http://drupal.org/node/1058912 #46 discusses lowering the token tree limit.
I installed the module and lowered the tree limit to 2 and now can enable Entity Tokens with Pathauto and the patterns tab is showing up...
Comment #4
btown CreditAttribution: btown commentedI was having the same problem with Entity Tokens and Pathauto - Token Tweaks worked for me.
Comment #5
ProYoga.NL CreditAttribution: ProYoga.NL commentedGreat! Token Tweaks with tree limit set to 2 finally fixed the issue. Thanks.
Comment #6
Håvard CreditAttribution: Håvard commentedToken Tweaks with tree limit set to 2 finally fixed the issue for me too :)