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
Comment #1
saepl commentedI too am looking for where these tokens are available because I want to create a custom token for use in URL Aliases
Comment #2
dave reid@themanwho: You should take a look at the filefield.token.inc in your filefield module on how to define filefield tokens.