Closed (outdated)
Project:
Custom Tokens
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2012 at 23:46 UTC
Updated:
3 Feb 2025 at 11:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gaspaio commentedYou're right about the lack of documentation. I'll try update it soon.
You have to activate the PHP filter module (D7 core) to be able to put PHP in the token body.
Comment #2
othermachines commentedI spent a fair bit of time learning this from scratch today, so thought I'd contribute some documentation that might make it easier for the next person. If this should also be added to d.o., just point me in the right direction and I'll take care of it.
Also updating issue title to be more descriptive.
Thanks for the module. Love it!
Comment #3
zulfierken commentedI do not know why, but my php code is not working. I enabled everything permission is okay but when I create a php code I see it like html. When I check html source I see span etc,. is added.
Can anybody help please
Just for others:
PHP Code Should not have any editor mine was ckeditor and code was not running :(
Comment #4
othermachines commentedWrong category.
Comment #5
anybodyDrupal 7 is now EOL.