Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wimleers/token_filter
Fork of token_filter for Edit module and Aloha Editor integration.
https://github.com/wimleers/token_filter
Last synced: 6 days ago
JSON representation
Fork of token_filter for Edit module and Aloha Editor integration.
- Host: GitHub
- URL: https://github.com/wimleers/token_filter
- Owner: wimleers
- Created: 2012-07-17T10:18:04.000Z (over 12 years ago)
- Default Branch: 7.x-1.x-edit
- Last Pushed: 2012-07-27T15:10:42.000Z (over 12 years ago)
- Last Synced: 2023-03-10T20:08:21.490Z (over 1 year ago)
- Language: PHP
- Size: 103 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
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-dateuser:
-----
user
user-raw
uid
reg-date
reg-since
log-date
log-since
date-in-tz
account-url
account-edit