Download & Extend

Need help getting started with Token module

Project:Token
Version:6.x-1.12
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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

#2

Status:active» fixed

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

#3

Status:fixed» closed (fixed)

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