1
|
Token Filter
|
2
|
-----------
|
3
|
|
4
|
This is a very simple module to make token values available as an input filter.
|
5
|
|
6
|
This initial development version only works for global and user token types.
|
7
|
|
8
|
Installation:
|
9
|
|
10
|
1) Enable the module
|
11
|
2) Go to /admin/settings/filters and enable the token_filter for any of your existing filter type or if you wish, create a new one.
|
12
|
|
13
|
Then in the text where you use that input filter you can use substitution tokens with
|
14
|
|
15
|
[token global site-name] etc.
|
16
|
|
17
|
Tokens typically available are:
|
18
|
|
19
|
global:
|
20
|
-------
|
21
|
user-name
|
22
|
user-id
|
23
|
user-mail
|
24
|
site-url
|
25
|
site-name
|
26
|
site-slogan
|
27
|
site-mail
|
28
|
site-date
|
29
|
|
30
|
user:
|
31
|
-----
|
32
|
user
|
33
|
user-raw
|
34
|
uid
|
35
|
mail
|
36
|
reg-date
|
37
|
reg-since
|
38
|
log-date
|
39
|
log-since
|
40
|
date-in-tz
|
41
|
account-url
|
42
|
account-edit
|