I create a custom token with Custom Tokens module, but don't know how to invoke it.
I tried to name it as: "Title from file name", "title_from_file_name", "token_custom_title_from_file_name"....
And then I invoked it as:
[title-from-file-name], [custom:title-from-file-name]
[title_from_file_name], [custom:title_from_file_name]
[token_custom_title_from_file_name]
but no one work.
Pleae tell me how to use this module.

Comments

gaspaio’s picture

Do you have the token module installed ? The D7 version of the token module gives you a handy table listing all the available tokens. Your custom token should be on it.

hongquan’s picture

Yes of course.
But my custom token does not show.

hongquan’s picture

Oh, I know the reason.
I tried to use custom token with Views module. But actually these don't get along.
Anyway, thanks.

gaspaio’s picture

Status: Active » Closed (works as designed)

:-). Yep, views' tokens are not token' tokens.