Problem: I would like to create my own tokens.

The instructions are clear, and just to make it more simple, I simply enabled the tokenSTARTER module; What I had hoped for was for the sample tokens declared there (random-X...) would be available to me as filepath tokens in the filefield module. However, I must be missing something, because they are not listed.

Can anyone tell me what I have overlooked? Specifically, I would like to create additional tokens for use in filefield.

Thanks in advance, I appreciate any pointers (even if they only point to more specific documentation!)

Comments

saepl’s picture

I too am looking for where these tokens are available because I want to create a custom token for use in URL Aliases

dave reid’s picture

Status: Active » Fixed

@themanwho: You should take a look at the filefield.token.inc in your filefield module on how to define filefield tokens.

Status: Fixed » Closed (fixed)

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