Do you know if there is a way to extract a token value from the node order.

My desire is to use the automatic node titling mod to title the mod based on the taxonomy term and node order.

In other words with the Vocabulary 'recipes' the first recipe would be called 'recipe 1'.

The name of the node would then change if the node order changed.

This would be particularly useful for continuing pages on a topic.

Comments

gdhp created an issue.

dieuwe’s picture

We'd probably need to implement hook_token_info().

https://api.drupal.org/api/drupal/modules%21system%21system.api.php/func...

Of course, we don't want a hard dependency on token, but I think as long as we're just providing the hooks (as opposed to calling functions) there should be no dependency concerns.

(Patches welcome, I currently don't have nearly enough spare time to work on this.)