I'm using Drupal 7 and installed the Token filter module.

I want to display a welcome message in block; I used <h2>Welcome [user:name]! </h2> as token, but the token is not recognized.

Why isn't the token recognized? Which token should I use?


Try this token instead:


This [current-user:name] token works in block title.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.