Closed (outdated)
Project:
Token Filter
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2010 at 12:28 UTC
Updated:
24 Mar 2018 at 06:11 UTC
Jump to comment: Most recent
Comments
Comment #1
justingeeslin commentedWith Input Formats (Text formats in D7), you can change the order the Filters are applied.
It looks like you need to 'Replace tokens' first and then do PHP Evaluation.
That seems possible with a new Input Filter with the Token Filter running first then PHP Evaluation.
I haven't tried that, but it seems possible.
(As a side note, it may be altogether better to preprocess the contents of this node to avoid having PHP in the node itself.)
Comment #2
darvanenDrupal 6 version is no longer supported. Please reopen this if you find it is relevant to Drupal 7 or 8.