Hello
I have taxonomy
term1
-term2
--term3
---term4

and node that have all this level taxonomy term1,term2,term3, term4
I need create urlalias for this node.
but i can create only 3 level (last is term3)
[term:1]/[term:2]/[term:3]/[node:title] (exemple) [term:4] not working :(

found code in Token.php
Line 137

/**
   * {@inheritdoc}
   */
  function getInvalidTokens($type, $tokens) {
    $token_info = $this->getInfo();
    $invalid_tokens = array();
...
    elseif (count($parts) == 2) { <<< i need more then 2 for me is good 4

Comments

Regnoy created an issue. See original summary.

Regnoy’s picture

Issue summary: View changes
Berdir’s picture

Category: Feature request » Support request
Status: Active » Fixed

The explode limits to 2 parts above, you misread that.

There is no limit, but there are no tokens like those that you listed. It needs to look like this.. entity:field:entity:parent:parent..

Status: Fixed » Closed (fixed)

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