Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / token_filter @ 87dbc3bf

Nom Taille Révision Âge Auteur Commentaire
LICENSE.txt 17,7 ko f7a2490e environ 10 ans Assos Assos git mv htmltest drupal7
README.txt 710 octets f7a2490e environ 10 ans Assos Assos git mv htmltest drupal7
token_filter.info 260 octets f7a2490e environ 10 ans Assos Assos git mv htmltest drupal7
token_filter.module 2,25 ko f7a2490e environ 10 ans Assos Assos git mv htmltest drupal7

Dernières révisions

# Date Auteur Commentaire
f7a2490e 13/02/2014 15:56 Assos Assos

git mv htmltest drupal7

Voir les révisions

README


Token Filter

This is a very simple module to make token values available as an input filter.

This initial development version only works for global and user token types.

Installation:

1) Enable the module
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.

Then in the text where you use that input filter you can use substitution tokens with

[token global site-name] etc.

Tokens typically available are:

global:

user-name
user-id
user-mail
site-url
site-name
site-slogan
site-mail
site-date

user:

user
user-raw
uid
mail
reg-date
reg-since
log-date
log-since
date-in-tz
account-url
account-edit

Formats disponibles : Atom