I installed Token_insert, changed permissions, enabled token insert button in wysiwyg but the token (site name in this case) just displays as [site:name] on the finished basic page... What am I missing?

Comments

jelle_s’s picture

Follow these steps and it should work:

  1. If you haven't already, download and enable Token Filter
  2. Go to admin/config/content/formats
  3. Press configure next to the format in which your basic page was created
  4. Check 'Replace tokens' and press 'Save Configuration'

That should do the trick, if not, let me know.

attiks’s picture

Status: Active » Closed (fixed)
wjordanhess’s picture

Status: Closed (fixed) » Active

I'm having the same issue with (tested with multiple content types, input filters, and wysiwyg editors). I followed the steps listed and am still having problems. Am I missing something else?

Thanks!

attiks’s picture

Version: 7.x-2.0 » 7.x-2.x-dev
Assigned: Unassigned » jelle_s
jelle_s’s picture

It depends on what token you are using. Token Filter will only replace global tokens, for example site:mail (all tokens starting with site:) or current-user:name (all tokens starting with current-user:), but it will not replace tokens like user:name, as it doesn't know which user to take.

dave reid’s picture

Note that Token filter 7.x-1.1 does support replacing contextual tokens when used on the same type of item. For example, you can use [node:*] tokens in a node body or node text fields. You can use [user:*] fields in a text field attached to users. etc.

jelle_s’s picture

@wjordanhess what token are you trying to use and in what context? (in a node body, user field, ...)

wjordanhess’s picture

@Jelle_S: This may have been a novice error on my part. I am using global tokens in a node text field (not the body field, but an additional field that is displayed within a panel). I'm not sure exactly what I did/changed, but everything suddenly started working for me after a day or two of wrestling with it. Thanks for the help!

jelle_s’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tree887’s picture

Hi,
I followed the steps in comment #1.

However, once I get to the last part and am in
admin/config/content/formats/filtered_html or admin/config/content/formats/full_html

There is nothing about tokens or about "replacing tokens"

Any suggestions?

Thanks

Patrick Danielsson’s picture

I have the same problem as #11, i can't find any settings in Formats at all for this.

jomarocas’s picture

Issue summary: View changes

please update the documentation, this tells in an issue and no in the principal page, very lot of time lost for where i find this